[vtkusers] vtkFloatArray: Unable to allocate * elements of size 4 bytes
sirius at sonnenkinder.org
sirius at sonnenkinder.org
Mon Apr 20 10:33:22 EDT 2009
Hello,
I'm trying to get a small VTK example working with Java but when running
it a second time (after disposing the frame - no termination), memory
usage increases till I get the error mentioned in the subject:
ERROR: In .../VTK/Common/vtkDataArrayTemplate.txx, line 327
vtkFloatArray (0x8bdf3ef0): Unable to allocate 196804605 elements of
size 4 bytes.
Running it only once works fine. Running it again after programm
termination works fine too. I've absolutely no idea what I'm doing wrong.
Here is the code (running the example twice) to reproduce the problem:
http://paste.ubuntuusers.de/394822/ (the VTK file is the original form
the VTK data set).
Using VTK 5.4.0 and Sun Java 1.6.0_13-b03 on Ubuntu Linux 9.04 RC.
Thanks in advance for your help,
Sirius
More information about the vtkusers
mailing list