True enough, I am a pretty anxious guy. :)
But from what I've read the JVM assigns 16Mb of memory to JAI, and when
I create the image the JVM memory jumps to 50! The second image makes
it jump to 100, etc. So far with 4 images, all of which are more or
less the same size, it jumps up to 170Mb. Well beyond 16Mb. And when I
try to force garbage collection by calling dispose() and setting the
image to null, AND calling garbage collection by hand, and nothing
happens.
Even if I am being anxious, shouldn't some kind of garbage collection
be going on here?
Confused ...
syg
Roedy Green - 17 Nov 2005 15:57 GMT
>Even if I am being anxious, shouldn't some kind of garbage collection
>be going on here?
Like an energy-conserving (lazy) husband, by default, Java does not
handle the garbage until it has to.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.