Someone else may be able to answer better, but even if you wrote your application in C++, I don't think that VTK throws exceptions for things like out of memory errors.<div><br></div><div>The only thing I can point you to is</div>
<div><br></div><div><a href="http://edocs.bea.com/wls/docs61/perform/JVMTuning.html">http://edocs.bea.com/wls/docs61/perform/JVMTuning.html</a></div><div><br></div><div><a href="http://edocs.bea.com/wls/docs61/perform/JVMTuning.html"></a>which describes how to tune the VM memory parameters if that is the limit you are reaching (instead of physical memory limits).<br>
<div><br></div><div>Jeff<br><br><div class="gmail_quote">On Thu, Jun 11, 2009 at 3:05 AM, Thomas Obenaus <span dir="ltr"><<a href="mailto:thomaso@eas.iis.fraunhofer.de">thomaso@eas.iis.fraunhofer.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hello,<br>
<br>
I need to be able to catch OutOfMemory erros that can occur in my programm<br>
because sometimes a lot of data may be rendered. I'm using VTK over the<br>
Java-Wrapping-Interface, and I don't know how to avoid a crash of my<br>
programm when VTK generates a fatal error during the rendering-process. Is<br>
there a way to catch exceptions thrown by VTK?<br>
<br>
-Thomas.<br>
<br>
<br>
--<br>
Dipl.-Medieninf. Thomas Obenaus<br>
<br>
Fraunhofer-Institut fuer Integrierte Schaltungen<br>
Institutsteil Entwurfsautomatisierung<br>
Zeunerstr. 38<br>
D-01069 Dresden<br>
--<br>
View this message in context: <a href="http://www.nabble.com/How-to-catch-OutOfMemory-errors-using-VTK-with-Java-tp23976349p23976349.html" target="_blank">http://www.nabble.com/How-to-catch-OutOfMemory-errors-using-VTK-with-Java-tp23976349p23976349.html</a><br>

Sent from the VTK - Dev mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Jeff Baumes, Ph.D.<br>R&D Engineer, Kitware Inc.<br>(518) 881-4932<br><a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a><br>
</div></div>