GC Problems...

Simon Levitt simon.levitt@worldpay.com
Fri Sep 10 08:37:00 GMT 2004


On Friday 10 September 2004 01:44, Boehm, Hans wrote:
> If the heap is increasing in 4K chunks, that probably means the
> garbage collected heap is not growing.  By default it grows in
> much larger chunks.
>
Ok, thats probably my terminology not being correct. What I meant when I said 
the heap was increasing, was the value of Runtime.getRuntime().totalMemory() 
- Runtime.getRuntime().freeMemory(). I suppose I should of said heap usage 
was increasing.
My mistake - should be more careful!

I'm increasing convinced that its something to do with using GlobalAlloc 
rather than the alternative - VritualAlloc?.

Simon.,
-- 
--------------------------------------------------------------------------
         Simon Levitt, Principal Development Engineer @ WorldPay,
WorldPay Centre, The Science Park, Milton Rd., Cambridge, CB4 0WE, ENGLAND  
   Simon.Levitt@worldpay.com   Ph:+44(0)1223 715151  F:+44(0)1223 715157
------------------------- http://www.worldpay.com/ -----------------------



More information about the Java mailing list