[ale] OT: java gc

Charles Shapiro cshapiro at nubridges.com
Wed Mar 10 10:30:37 EST 2004


Uh, what version of the JVM are you running?

Versions earlier than 1.4.02 have known memory leaks. When we switched
to 1.4.02 here our problems seem to have gone away for now (crossed
fingers).

-- CHS

On Tue, 2004-03-09 at 23:13, miguel wrote:
> hello alers..
> 
> need your opinion:
> i have a java program that runs for several days then it begins
> to throw out of memory exceptions. its a small multi-threaded
> app.server. i don't consider it that memory intensive.
> it seems that over the long run the gc is not freeing up enough
> of the heap. i played with the -Xmx param and obviously all it does
> is to delay the exceptions. other than system.gc calls and assigning
> objects to null are there other ways i can "hint" the gc to "please
> hurry and free up some of the heap" before more allocations take place?
> i guess tuning with the -X heap settings i can have the jvm call the gc
> more often?
> 
> tia
> -miguel
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list