I detect the scent of wild goose in the air. I'm not at all
convinced that
flush() will discard the underlying Raster or its DataBuffer or any of
their internal arrays.
This looks to be a pretty good olfactory sense. I expanded my memory
test to pixelate the images and then even the 48 byte frees
disappeared for flush().
if anyones interested. It is roughly what I use in some Lee Ann
Rucker derived JColumnView code to provide the icon in the files
preview panel. This weekend I used the Quaqua JFileChooser instead of
my code which is a very nice implementation but seems absent the icon
in the preview?
Anyhow, getting off-topic. flush() for real images doesn't in fact
seem to do anything. Unsure if that remains a documentation bug or
false advertising, or whatever. But odd in view first of the 48 bytes
I was able to free with empty images even and odd per the original
poster stating this was freeing substantial memory for him.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden