Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Vladimir, > I'm evaluating JProbe 2.8.1, a tool used to check memory heap. > This tool is able to show me all the objects "still alive" after garbage > collection. > (JProbe allows me to force garbage collection). > > I have a JFrame containing a 3D graphic (VisADCanvasJ3D). > When the JFrame is closed the visAD objects (those whose name start by > "Display") are not garbage collected. > > Is there a way to allow garbage collection by dereferencing objects just > before closing the window. (something like java.awt.<Container>.removeAll()) ? Try calling: display.destroy(); for each "DisplayImpl display". Cheers, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: