Thus spake Thomas Russ: > > Of course, the real solution is to try to go away from huge memory > footprints for the graphics. The SVG work is a nice step in this > direction. > > -Tom.
It is a step in that direction, but presently it uses the same amount of memory as a bitmap. That's because at present we do the rendering and cache the rendered bitmap. This could change, depending on what I find out by testing alternatives. > [*] IIRC Java uses a copying garbage collector, which means that the > heap memory in use is at most half of the memory allocation, to make > sure there is enough room to copy the live data over when garbage > collection is triggered. That means that as long as additional > memory isn't being allocated by Vassal, half of the allocated space > can be on disk without any performance penalty. Huh. I did not know that. -- J.
