Hello,

On Thu, Jul 08, 2004 at 12:02:24PM +0200, JИrТme ThiХvre wrote:
 > Hi,
 >
 > I 'm working on a graphical zoomable application that draws a lot of handled
 > graphical objects. For optimization purpose, I replace graphical objects by
 > images when zooming far out. When I dispose and dereference these images the
 > memory is never disposed.

  How can you tell this? Did you use a profiler? If so, it should also
  provide you with the information on the objects holding references to
  your images and preventing them from being collected.

  You can use the built-in profiler ('java -Xrunhprof:help' in 1.4.x,
  'java -agentlib:hprof=help' in 1.5).

  Can you come up with a test case?

  Thank you,
    Dmitri

 >
 > I have tested my application on 1.4 and 1.5 and I have tried the
 > Image.flush() method, but it still doesn't work. This bug is stated as
 > closed in 1.5, but I think it is still present.
 >
 > If there is a workaround that really works, I would be glad to know it.
 >
 > Thanks.
 >
 > JИrТme
 > Institut National de l'Audiovisuel
 > France
 >
 > ===========================================================================
 > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 > of the message "signoff JAVA2D-INTEREST".  For general help, send email to
 > [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to