IDEA hangs on linux
Hi,
My IDEA hangs regularly after/during a run/debug. I am using Ubuntu Feisty, IDEA 7.0.3, JDK 1.6.0_03-b05.
My 'ps' shows the following relevant processes:
14402 ? Sl 25:37 /usr/lib/jvm/java-6-sun//bin/java -Xms128m -Xmx1024m -XX:MaxPermSize=120m -ea -Xbootclasspath/p:../lib/boot.jar com.intellij.idea.Main
14475 ? S 0:00 \_ /home/tom/.IntelliJIdea70/config/plugins/CppTools/lib/cfserver.linux --idea --catchexceptions --inLogName /home/tom/.IntelliJIdea70/config/...
14476 ? Z 0:00 \_ \[g++\] ]]>
The 14402 process is burning 50% of my cycles continuously.
Any ideas?
-Tom
请先登录再写评论。
Hi,
FWIW I have IDEA 7.0.4 EAP 7807 running on Ubuntu 8.04 64-bit with Sun JDK 1.6_06 64-bit, and it starts fine.
At least on Ubuntu, you have to install Sun JDK separately, because it is bundled with "OpenJDK" which is not 100% compatible. Hopefully, if Sun follows through on making Java open source, they can bundle Sun's JDK in the future.
Ubuntu 8.04 is nice development environment. I'm using it home now, but still using Windows XP at work.
-Alex
Thanks for the info, I am also running 64 bits I'll switch to the latest version of the JDK asap.
Oh, and I thoughs, maybe better include a stack dump... ;) I'll do that on the next hang. Consider this issue closed.
-Tom
One more field report:
I just switched over to a shiny new box running Fedora 8 x64 (kernel 2.6.24-5 x64), Java 1.6u6 x64, and IDEA 7.0.3. I would get a hang every time I loaded my project; not quite immediately, but shortly thereafter. The Java process would eat 100% of a CPU for as long as I cared to wait.
When I tried to kill the process normally (e.g., Ctrl-C, normal Unix kill command) I would get this message:
Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler- the VM may need to be forcibly terminated.
Eventually I would have to kill -9 the process. This happened no matter how much memory I gave it (up to 1 GB, anyhow, for a project that ran fine in 256m on my old machine).
My eventual solution was to download the Java 1.6 i586 package (aka the 32-bit version) and run IDEA with that. That seems to be working fine for me now.