This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GC Problems...


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/ -----------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]