| Author |
Looking for Help/Tips on Freeing memory in a Swing Application
|
Matt Wilcko
Ranch Hand
Joined: Sep 23, 2003
Posts: 65
|
|
Hi, I have a desktop application that loads/edits/saves very large images(about 2000 x 1500 pixel images). The program keeps gobbling up memory until I get an Out of Memory error. Before I receive this error, the program runs around 65-70 megs or ram.. printing takes it up to 85 and sometimes causes the out of memory error. I've tried setting bufferedImages to null after using them but that doesnt seem to free space(or very little). Should I set JPanels and everything else to null after using them? Is there a good resource on the web about this topic? Thanks!
|
 |
 |
|
|
subject: Looking for Help/Tips on Freeing memory in a Swing Application
|
|
|