[vtk-developers] How to catch OutOfMemory errors using VTK with Java

Jeff Baumes jeff.baumes at kitware.com
Mon Jun 22 09:45:55 EDT 2009


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.
The only thing I can point you to is

http://edocs.bea.com/wls/docs61/perform/JVMTuning.html

<http://edocs.bea.com/wls/docs61/perform/JVMTuning.html>which describes how
to tune the VM memory parameters if that is the limit you are reaching
(instead of physical memory limits).

Jeff

On Thu, Jun 11, 2009 at 3:05 AM, Thomas Obenaus <
thomaso at eas.iis.fraunhofer.de> wrote:

>
> Hello,
>
> I need to be able to catch OutOfMemory erros that can occur in my programm
> because sometimes a lot of data may be rendered. I'm using VTK over the
> Java-Wrapping-Interface, and I don't know how to avoid a crash of my
> programm when VTK generates a fatal error during the rendering-process. Is
> there a way to catch exceptions thrown by VTK?
>
> -Thomas.
>
>
> --
> Dipl.-Medieninf. Thomas Obenaus
>
> Fraunhofer-Institut fuer Integrierte Schaltungen
> Institutsteil Entwurfsautomatisierung
> Zeunerstr. 38
> D-01069 Dresden
> --
> View this message in context:
> http://www.nabble.com/How-to-catch-OutOfMemory-errors-using-VTK-with-Java-tp23976349p23976349.html
> Sent from the VTK - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>


-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.baumes at kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090622/ceb9197d/attachment.html>


More information about the vtk-developers mailing list