[messages] [Developers] Re: determining how much heap a BufferedImage uses

pgeerkens pgeerkens at hotmail.com
Thu Nov 11 14:00:51 MST 2010


In doing further research, I discovered that to optimize the
garbage-collection process, the total heap is usually managed in 2 or
more segments, a large one for long-lived objects and smaller ones for
initial allocation of small objects and promotion into the main heap.
These are usually run as a percentage of total heap space, but the
controls vary by JVM. Tweaking these appropriately should allow the
large buffered-image to consume a larger percentage of total heap
allocation.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=20534#p20534


More information about the messages mailing list