GC leaks debugging

Erik Groeneveld erik@cq2.nl
Fri Apr 8 15:53:00 GMT 2011

>> Paging Hans Boehm.  can you suggest ways to get the system to GC more
>> frequently?  Would doing so avoid this scenario?
> Call _Jv_SetGCFreeSpaceDivisor().  I forget what we used to do, but bigger
> numbers cause it to collect more often.  The default may be 5, but if you
> make it 20 or 25 you really reduce heap growth.

Yes, I saw this in the code and I already tried that with 30.  Did not help. ;-(
Also tried explicit GC_gcollect.  Did also not help.

I'll sleep another night; new clues will come... ;-)


More information about the Java mailing list