bookmark

Re: BufferedImages not garbage collected -- any suggestions?


Description

What made the difference was having the Component class' "finalize()" method explicitly call "flush()" on its BufferedImage before nulling it out. Once this was done, the verbose output from the GC confirmed that the BufferedImage's memory was being reclaimed and the OutOfMemoryException stopped.

Preview

Tags

Users

  • @sac

Comments and Reviews