One thing to watch out for (of which I'm sure you already know, but I'll say it anyway) is to beware of introducing object recycling. Not only does it have a detrimental affect on overall throughput (in the same manner that -Xincgc does), often it becomes counter-productive when sun releases new garbage collectors (like the concurrent garbage collector currently planned for 1.4.1).
The best approach is to design away the need to allocate the memory, rather than trying to come up with better approaches to manually manage it. Make it smaller, less copies, better algorithms that don't need temporary objects, etc. Great product by the way, I hope we have helped you through the EAP program as much as I know you have helped us by making these early versions available. Mike On 8 Dec 2001 at 20:14, Eugene Belyaev wrote: > We are constantly working on finding memory leaks. At the moment, > it's true that IDEA needs to be restarted from time to time for large > projects. Simply because there is a _lot_ of data to be cached. The > memory requirements is a drawback of the speed. However, we are > planning to improve the cache mechanisms for future version to require > less memory for various operations. > > Best regards, > > Eugene Belyaev > IntelliJ Software, http://www.intellij.com > "Develop with pleasure" > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Frederking > > Christian EXT > > Sent: Thursday, December 06, 2001 10:48 PM > > To: '[EMAIL PROTECTED]' > > Subject: RE: [Eap-list] Out of memory > > > > > > what if the same recurs with a larger value for -mx ? > > I mean, if there's a memory leak... I have only 512M RAM to provide! > > > > > -----Original Message----- > > > From: Valentin Kipiatkov [SMTP:[EMAIL PROTECTED]] > > > Sent: Thursday, December 06, 2001 7:18 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [Eap-list] Out of memory > > > > > > Increase the '-mx' parameter in IDEA startup script. > > > > > > Best regards, > > > Valentin Kipiatkov > > > ----------------------------------------------------------- > > > IntelliJ Software, http://www.intellij.com/ > > > "Develop with pleasure" > > > ----------------------------------------------------------- > > > > > > ----- Original Message ----- > > > From: "Deblauwe, Wim" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Thursday, December 06, 2001 6:01 PM > > > Subject: [Eap-list] Out of memory > > > > > > > > > > After working a whole day with build #531 I have this in > > the console > > > window: > > > > At the moment the heap size is 95 Mb, used is 91 Mb > > > > To me it also seems to work slower. > > > > > > > > > > > > Exception occurred during event dispatching: > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > Exception occurred during event dispatching: > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > Exception occurred during event dispatching: > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > Exception occurred during event dispatching: > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > Exception occurred during event dispatching: > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > java.lang.OutOfMemoryError > > > > <<no stack trace available>> > > > > > > > > ------------- > > > > Ing. Wim Deblauwe > > > > BarcoView > > > > Medical Imaging Systems > > > > > > > > _______________________________________________ > > > > Eap-list mailing list > > > > [EMAIL PROTECTED] > > > > http://www.intellij.com/mailman/listinfo/eap-list > > > > > > > > > _______________________________________________ > > > Eap-list mailing list > > > [EMAIL PROTECTED] > > > http://www.intellij.com/mailman/listinfo/eap-list > > > > _______________________________________________ > > Eap-list mailing list > > [EMAIL PROTECTED] > > http://www.intellij.com/mailman/listinfo/eap-> list > > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > --- [EMAIL PROTECTED] To obtain my PGP public key, mail "SEND PUB KEY" in the subject to "[EMAIL PROTECTED]" _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
