Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #611

Re: Memory Leak in swing

From "John" <john@THRWHITE.remove-dii-this>
Subject Re: Memory Leak in swing
Message-ID <1168369438.682101.179320@i56g2000hsf.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:28 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
This is a real long shot, but it worked once for me although I have no
idea why.

After you are through cleaning up your images, try a call to:

Thread.sleep(1000);

This call allowed the garbage collector to work, while without the call
the garbage collector was not freeing up memory. I assume the memory
was from images that were being created by a plotting program.

John

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar


Thread

Re: Memory Leak in swing "John" <john@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000

csiph-web