Latest EAP Locking up at 100% CPU
Can't tell if this is specifically the latest EAP or if it's been around, but ever since I added this jar file to my project (it's the Java API for Campaign Monitor, an email marketing service). Has anyone else been seeing CPU lockups in recent builds? Unfortunately, I just added this jar just after grabbing yesterday's build, so I can't be sure. I was looking for an old build to download to see if it's reproducible, but I couldn't find those either.
Please sign in to leave a comment.
Hello Pat,
You should have a bunch of thread dumps under system\log\threadDumps-xxx
from the session in which the hang occurred. Could you please create a YouTrack
issue and attach the thread dump files to it?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Pat, you can get old builds by using the current URL of the download in which you're interested, but changing the version number. For example, the download link for the current build is http://download.jetbrains.com/idea/ideaIU-90.122.exe. If I wanted the previous build (116), I'd just visit http://download.jetbrains.com/idea/ideaIU-90.116.exe.
Where is "system\log\threadDumps-xxx"? I'm on OS X.
I've determined the locking happens on older and newer versions of the EAP. It's something about this library (it's a WS/SOAP API)...
$USER$/Library/Logs/IntelliJIdea90
I'm very sorry but my english is very poor. :-)
Now, I'm using Maia(90.94) and try to new build version.
But, all build version freezing after 90.94 build.
Example, lastest version(90.137), lanching application and open some recently project(Maven : Flex + Java).
90.94 build runs 32bit JVM but another build runs 64bit JVM.
Attached IntelliJ log files.
Attachment(s):
Archive.zip
In my experience, IDEA EAP locks up at 100% CPU if you use a 64-bit JVM without increasing the perm-gen (permanent generation) space.
You can tell this is happening by looking at the console output (such as on the OS/X Console application), where you will see errors due to running out of perm-gen space.
To configure more perm-gen space under OS/X, edit (for example) /Applications/Maia-IU-90.122.app/Contents/Info.plist
I have been setting the perm-gen space to 250 meg:
<key>VMOptions</key>
<string>-Xms32m -Xmx512m -XX:MaxPermSize=250m -ea -agentlib:yjpagent=disablej2ee,disablecounts,disablealloc,sessionname=IntelliJIdea90 -Xbootclasspath/a:../lib/boot.jar</string>
Dean
Dean, thanks a lot!
Have a nice day :-)
Yup, that was it. I can definitely see the PermGen space error in my Console. Perhaps JetBrains needs to rethink their launching strategy for IDEA? Seems like hard coding these memory settings in the application itself isn't scaling. I see lots of people who need more memory or (in this case) more perm gen space. Shouldn't those settings be pulled up out to my user settings? IDEA should probably also suggest memory settings based on my system: 2 x quad core 64 bit + 10GB of RAM should get more memory than, say, a Mac Mini.
This was the solution for me as well. I always have to directly modify the settings in the plist. They should at least give a way to edit those from the application.