Idea Hangs; How to Clear Cache?
All -
I am using Idea 7.0M1a on a fairly large project (about 1000 source files plus quite a few libraries).
Occasionally it hangs/freezes without any apparent reason. Usually it clears up after a while (30-90 seconds). I'm running on a new MacBookPro with plenty of memory.
Do you have any ideas why this is happening and how to solve this problem?
Also, how can I remove Idea's cache so that my settings are intact, but the information about my project's content is removed (to force recreation)?
Thanks,
Keith
Please sign in to leave a comment.
Hello Keith,
Please use the following information to take a thread dump and post it here:
http://support.jetbrains.com/kb/entry.jspa?categoryID=4&externalID=260
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks, Dmitry.
I tried running Idea from my shell but got:
>idea.sh
/Applications/IntelliJ IDEA 7-0M1a.app/bin/idea.sh: line 1: /Applications/IntelliJ IDEA 7-0M1a.app/bin/../bin/idea.vmoptions: No such file or directory
Also, do you know of any way to clear out Idea's project cache? I have some projects that I no longer use, and would like to clear up the disk space and other resources they used.
Thanks,
Keith
>
I had to create my own vmoptions file... just create a text file with that name. My file has:
-Xms512m
-Xmx1024m
-XX:MaxPermSize=128m
-ea
I have noticed that intelliJ freezes for a little bit when it is running garbage collection. This can be run manually by clicking the trash can (lower rigth corner of the program window.) If this is happening alot you probably need to adjust the amount of memory intelliJ uses.