[Insight-users] Memory Allocation Error in Java

Evert van Velsen efsvelse at students.cs.uu.nl
Tue Dec 14 10:20:00 EST 2004


Hi there,

when running my java-written ITK program, which I've combined with ImageJ,
I received the following error:
Error: java.lang.RuntimeException:
c:\insighttoolkit-1.8.1\code\common\itkImportImageContainer.txx:186:Failed
to allocate memory for image.

The input of the program is a 200 slice 3d-image (tiff-format) of 128x128,
and the error occured when performing the ShapeDetectionLevelSetFilter
with 200 seedpoints (one on each slice).
I'm using ITK 1.8.1 with java 1.4.2_05

Does anyone know how I can fix this problem?

Thanks,

Evert


More information about the Insight-users mailing list