Howdy,

>Left to it's own devices, GC usually only happens when the JVM
>is using almost all of the allocated memory.  Therefore, the
>more memory allocated, the longer till GC and the longer GC will
>last.

;( ;(

This is a common wrong assumption people have about Java's modern GC
algorithms.  In fact, they run all the time, even when not configured to
use the incremental (or train) collector.  With all the default VM
settings, GC scanning and reclaiming for a typical application will
happen often, long before the heap is largely allocated, frequently more
than once a second.   This is pretty easy to see if you enable
-verbose:gc flag to the JVM.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to