[vtkusers] memory allocation limit in windows 2000 or vtk ?

David Netherway david.netherway at adelaide.edu.au
Thu Aug 8 21:08:37 EDT 2002


Hello All,

I attempted to use vtkVolumeRayCastmapper on a volume of size 512x512x1011
on a PC with 1.5Gb of RAM.

The program will successfully display raycast images if the shading is
turned off. The memory usage is then about 1Gb. The program crashes when I
turn on shading at the point where the EncodedGradientEstimator attempts to
allocate (using new) another 0.5Gb RAM.

It seemed that either the virtual memory was not working or I had reached
some allocation size limit. The compiler was visual c++ 7 (.net).

I tested the first by running the program twice, simultaneously, on an 800
slice data set. This worked. The peak memory usage hit approximately 2.5Gb
indicating that the virtual memory was working.

Does anyone have some suggestions as to what the problem might be?

Thanks, David





More information about the vtkusers mailing list