IDEA 6 on OS X and Out of Memory Errors
Ever since I upgraded to IDEA 6.0.1 on OS X, I've been getting Out of Memory errors like no tomorrow. It seems like it's leaking memory when I'm not even using it. Today, I went to lunch shortly after opening IDEA to do some work. When I came back, I was created with the following dialog:
I've set my Info.plist to have -Xms256m -Xmx512m -XX:MaxPermSize=256m
, but it doesn't seem to help. How has your IDEA 6 experience been on OS X? Are you running out of memory? I haven't had any issues on Windows - maybe it's a problem with the MacBook Pro?
I fully expect the IDE zealots to say "use NetBeans or use Eclipse". Eclipse doesn't support hierarchical projects, so that won't work. I'm willing to try NetBeans if I can run something like "mvn netbeans:netbeans" and if it supports hierarchical projects like IDEA does.
Are there some 'killer' features in 6 that you must have?
Justin- who has downgraded to 5.1.2 after a few too many issues with the 6 branch (on windows)
Posted by Justin on November 03, 2006 at 04:23 AM MST #
Posted by shaug on November 03, 2006 at 05:31 AM MST #
Posted by Anton Fedotov on November 03, 2006 at 05:57 AM MST #
Posted by Andreas Andreou on November 03, 2006 at 07:24 AM MST #
Posted by Tim Fennell on November 03, 2006 at 02:18 PM MST #
Posted by Muthu Ramadoss on November 03, 2006 at 05:20 PM MST #
Posted by Matt Raible on November 03, 2006 at 05:33 PM MST #
Posted by Jason on November 03, 2006 at 05:46 PM MST #
Posted by Stephen Duncan Jr on November 03, 2006 at 06:34 PM MST #
AFAIK, the only way to get nested projects supported is to rename your .project files and import nested projects.
Posted by Matt Raible on November 03, 2006 at 07:57 PM MST #
Posted by Matt Raible on November 03, 2006 at 08:14 PM MST #
Try removing your plugins, and see if the problem goes away. Once I removed the "Problems" plugin, I was able to leave IDEA running for days with two very large projects loaded.
Since a plugin runs in IDEA, if the plugin has a memory leak, it'll affect IDEA.
Other than this, IDEA 6 and OS X seem to coexist happily for me. And I work on big, big projects.
Good luck!
Douglas Bullard
Posted by Douglas Bullard on November 06, 2006 at 04:26 PM MST #
Posted by Todd Huss on November 08, 2006 at 03:52 AM MST #
It's a little painful at first, but it does work. You do need to increase your MaxPermSize in eclipse too of course. My current hope is that not too many people on our team will have the whole thing checked out once we get going- they'll be able to work on just the module or two that's related to their responsibilities.
I have it on my to-do list to take another look at NetBeans, but free time is as usual, hard to come by and I'm a little worried I'll loose some features (JBoss IDE, WTP, QuantumDB, and a couple others I've gotten used to..)
Posted by bjordan on November 14, 2006 at 12:22 AM MST #
Posted by Jason McDonald on January 17, 2007 at 02:38 PM MST #