IDEA is constantly freezing

Answered

The UI is constantly locking up on me. It comes back after a minute or so. I checked the logs directory and I can see that thread dumps are being generated. I've zipped up the contents of those dumps. I'm running on Debian 8.3. I have modified the maximum heap memory because I was getting OOM errors. I've also modified the idea.properties file to redirect system and cache files to a local disk (our home directories are NFS mounted).

IntelliJ IDEA 2016.3.4
Build #IU-163.12024.16, built on January 31, 2017
Licensed to The MathWorks, Inc.

JRE: 1.8.0_112-release-408-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

https://drive.google.com/file/d/0B4rX4Vtv0vI-S3FORGl6RDZuZ2M/view?usp=sharing

idea64.vmoptions

-Xms128m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
4
18 comments

Do you have a lot of files in VCS Changes view? Try to minimize it by ignoring files or adding unversioned files to VCS and committing the modified files.

If it doesn't help, upload the complete logs folder and provide the thread dumps using jstack (https://intellij-support.jetbrains.com/hc/articles/206544899). You can share the files privately per https://intellij-support.jetbrains.com/hc/articles/206869619.

0
Avatar
Permanently deleted user

Hi! I have a similar issue: the IDE (CLion) is constantly freezing. I'm working on Debian 8.11. CLion version is 2018.2.3; 2018.1.6 freezes as well.

The issue has appeared just recently. I had a lot of unversioned files in git, but I've excluded them.

I've just uploaded the jstack output as suggested in the second support link; the file name is `clion_dump.txt`.

Thank you!

0

Your issue seems to be different (specific to CLion CPP Lint feature). Please report here instead: https://youtrack.jetbrains.com/issues/CPP.

0
Avatar
Permanently deleted user

Thank you for the response, and will post it there; but is it true then that disabling of cpplint can be a quick fix?

0

You can give it a try.

0
Avatar
Permanently deleted user

Hi there, I have a similar issue with IntelliJ-Idea and Pycharm. The problem (I think) seems to be the same: randomly, the application dissapears, sometimes

the workstation is locked up. Also, like the initial post I have the $HOME users by NFS and I think that this is the problem. 

The file java_error_in_IDEA shows like the problem is 

SIGSEGV (0xb) at pc=0x00007f07b4c8c5a1, pid=10822, tid=0x00007f0701751700

in C [libc.so.6+0x18e5a1].

I suspect than problem could be related to NFS load or notify tools. Is there a way to disable this?

Thanks!

0

Is it possible to share the crash dump?

0
Avatar
Permanently deleted user

Yes, for sure: Here you have a link: https://drive.google.com/drive/folders/12YaGiFKAIMEv0koIrtvBsf-OX1lyfcj8?usp=sharing

We have our HOME directory via NFS, and this happens with Pycharm and with IntelliJ-Idea. We have about 1200 users. In a clasroom with about 60 users happens about 10 users. Its complety random but the error is always the same.

Thank you! We are desperated :-(

1

It's a completely different problem not related to the original thread here.

JVM crashes when trying to start a new process on your system:

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.lang.UNIXProcess.forkAndExec(I[B[B[BI[BI[B[IZ)I+0
j java.lang.UNIXProcess.<init>([B[BI[BI[B[IZ)V+30
j java.lang.ProcessImpl.start([Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;[Ljava/lang/ProcessBuilder$Redirect;Z)Ljava/lang/Process;+433
j java.lang.ProcessBuilder.start()Ljava/lang/Process;+161
j com.intellij.execution.configurations.GeneralCommandLine.startProcess(Ljava/util/List;)Ljava/lang/Process;+64

I'm not sure if it's related to NFS or not.

You can file a bug at https://youtrack.jetbrains.com/issues/JRE so that our developers can take a look and provide a workaround in our custom JDK, if possible. But it really looks like some OS level issue that cannot be fixed in the JDK or in our products.

0
Avatar
Permanently deleted user

Thank you so much for your quick answer. I am seeing that the errors are the same in all the log files.

I dont know exactly how I can start :-/ its pretty strange, we only have problems with those apps.

Anyway, thank you Serge...

0

You can try to debug it yourself by enabling the core dumps and debugging them with gdb. Could be an issue with some system library that needs to be updated.

0
Avatar
Permanently deleted user

Thank you for your suggestion. How can I enable core dumps? I saw to enable it with "ulimit -c unlimited". I guess that I should write this in idea.sh / pycharm.sh start script? Thank you!

0

You can type in in the terminal before starting IntelliJ IDEA from the same console.

0
Avatar
Permanently deleted user

If anyone is interested, our problem was related to snoopy. We have enabled snoopy to track the commands that the users introduced when they are logged. Snoopy introduces a lib in preload (/etc/ld.preload) and maps exec and execve system calls.

If we comment this library in ld.preload, the application works fine. We dont have any crash anymore... X-File is resolved :-)

0

Intellij keeps freezing on MAC. I havde had to force quit it many times. It used to work ok in versions prior to 2019. It seems someone made the tool very bad. I would not recommend it anymore to anyone.

0

I met the same problems, windows 7, idea 2018.1.3  

0

Please sign in to leave a comment.