Dear all,

I hope to have your help in a rather annoying problem I have:

I have made an application that is centered around a JPanel (double buffered)
that is used for displaying pictures (JPEG). It is also possible to change the
currently displayed picture, and herein lies my problem:
Somehow a copy is being kept of the image data; I used OptimizeIt, and it is
clear that some ridiculously large int[] is still haning around, and refuses to
be gc-ed.
I thought I cleaned everything up nicely (remove from MediaTracker, flushing
Image-data), but to no avail....
Has anyone encountered this before?
Does anyone know how I can rech this data to remove it?
Hope you can help, because the pictures can get up yo 32 Mb in size, so I get an
OutOfMemoryException pretty quick... :(

TIA

Cheers,

Marijn


_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to