<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thomas,<br><br>Thanks for the reply. I ran the program with these arguments set, even with 1g instead of 500m, but still the same access violation error :(<br><br><br><br>--- On <b>Tue, 10/27/09, Thomas Obenaus <i>&lt;thomas.obenaus@eas.iis.fraunhofer.de&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Thomas Obenaus &lt;thomas.obenaus@eas.iis.fraunhofer.de&gt;<br>Subject: Re: [vtkusers] Java EXCEPTION_ACCESS_VIOLATION<br>To: "VTK" &lt;vtkusers@vtk.org&gt;<br>Date: Tuesday, October 27, 2009, 12:42 AM<br><br><div class="plainMail">#Hey Denis,<br><br>#Earlier, the path to the dicom directory had lots of spaces in it, maybe thats why the reader wasn't reading the images. Now I have #changed the path (made it a simple c:\directiry) and the reader is able to read the dicom
 images.<br><br>#But still the stack overflow problem is there.<br><br>#Also, someone suggested to increase the heap size in java, is there a way I can do it from within eclipse, or I have to run the program #from command line and set the required option?<br><br><br>#thanks for all your help !!<br><br>Hello,<br><br>yes you can specify it from within eclipse. You have to select Run-&gt;Run Configurations... from the Eclipse-Menu in the dialog that will be shown you have to go to the Arguments-tab and have to type -Xmx500m -Xms500m into the field called VM arguments.<br><br>-- Dipl.-Medieninf. Thomas Obenaus<br><br>Fraunhofer-Institut fuer Integrierte Schaltungen IIS<br>Institutsteil Entwurfsautomatisierung EAS<br>Zeunerstr. 38 D-01069 Dresden<br><br><br>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html"
 target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></blockquote></td></tr></table><br>