I was getting these problems, with a large project (5000+ files), you need to add -XX:MaxPermSize=128m to your JVM start args and it should solve your problem.
>From: "Erik Hanson" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: [Eap-list] OutOfMemory when performing large "Layout Code" >Date: Sun, 13 Jan 2002 23:57:01 -0800 > >[IDEA build 542, Windows 2000, JDK 1.3.0_02] > >When I select all the files in my project (about 1000), choose "Layout >Code", >and just choose "Optimize Imports", IDEA chugs along and then after a >minute >or so crashes with an OutOfMemory exception (no stack trace available). > >When I select a few files, it works fine. Optimizing imports doesn't seem >like >a task that would require more memory if more files are being processed, so >I >think it's a bug. > > >Erik > > > >_______________________________________________ >Eap-list mailing list >[EMAIL PROTECTED] >http://www.intellij.com/mailman/listinfo/eap-list _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
