<font color='black' size='2' face='arial'><font color="black" face="arial" size="2">
<div> Hi all,<br>
<br>
I am using VTK with Java wrapper for constructing Dicom 3D. It works fine. But while closing the 3D window the cache memory is not released. After I found that, vtkGlobalJavaHash.DeleteAll() method should be called to destroy all vtk native objects. So i called that method within formclosed event. This works fine with windows and Mac. But with Linux it leads to jvm crash. I don't know where the problem is. Please help me on this.<br>
<br>
System Configrations:<br>
LinuxMint - Release 10 (Julia)<br>
Memory - 2.0 GB<br>
Processor- Intel Core 2 Duo<br>
JVM - Java(TM) SE Runtime Environment (build 1.6.0_22-b04)<br>
<br>
I added the code snippet...<br>
<br>
loadDicomdata{<br>
// Code for Load the Dicom Images using vtkDicomImagereader...<br>
}<br>
<br>
Load3DMIP(){<br>
<br>
// Code for construct and Display the 3D in JFrame...<br>
}<br>
<br>
private void formWindowClosed(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosed<br>
<b> vtkGlobalJavaHash.DeleteAll();</b> // Here the Problem<br>
}<br>
<font face="Arial, Helvetica, sans-serif"><br>
</font>
</div>
<div style="clear: both;"><a href="javascript:void(0)" style="font: lighter 10px Verdana,Arial; color: rgb(0, 0, 0);"><img src="http://presence.mail.aol.com/mailsig/?sn=kingvsk" align="absmiddle" border="0"></a> With Regards,<br>
<br>
Sathish Kumar V</div>
</font></font>