[NTLUG:Discuss] Eclipse - running out of RAM?
Chris Cox
cjcox at acm.org
Thu Sep 18 10:37:46 CDT 2008
Steve Baker wrote:
> On my newly installed SuSE 11.0 64bit box, I need to run Eclipse - so I
> had SuSE install it for me.
>
> When I run it, the banner pops up proclaiming "eclipse Europa" - but on
> stderr I see a BUNCH of complaints about running out of memory:
>
>
> GC Warning: Repeated allocation of very large block (appr. size
> 262144999):
> GC Warning: Out of Memory! Returning NIL;
> Exception in thread "Refresh Packages" java.lang.OutOfMemoryError
> <<No stacktrace available>>
>
> ...it does this a few times for different packages - and then just sits
> there.
>
> My computer only had 512Mbytes RAM...but after a quick trip to Fry's - I
> now have 2Gbytes of RAM - and (sadly) I'm getting the exact same results.
>
> 'top' agrees that I have 2 gigs - and says that "gij-4.3" is consuming
> 77% of memory and 98% of the CPU...so I presume it's the problem.
>
> I'm puzzled because this is an "out of the box" clean install.
>
> I'm not experienced with Eclipse - does anyone have any clues?
Well.. I can say that sometimes this isn't the fault of the app,
but a Java bug. So try with different rev levels of Java and
see if you get the problem. Just a guess...
Java DOES have tunables with regards to heap/stack... you may
have to adjust those to startup certain memory grabbing apps.
More information about the Discuss
mailing list