[vtkusers] vtkFloatArray allocation problem

Charl P. Botha cpbotha at gmail.com
Wed Nov 24 12:55:53 EST 2004


On Tue, 23 Nov 2004 13:33:34 +0100, L.J. van Ruijven
<l.j.vanruijven at amc.uva.nl> wrote:
> This is probably not a VTK problem, but I am only hoping that one of
> the readers knows how to solve this problem, because I cannot gind the
> solution.
> When I try to allocate more than 520 MB of memory (e.g. with
> vtkFloatArray::SetNumberOfValues()), the allocation fails.  I use a
> Windows XP system with 2 GB RAM (1.7 GB free physical memory).

When you attempt this allocation, how much memory is the application
already using?  Remember that on most 32 bit OS VM systems, any single
application can't get more than 3G of memory, no matter how big your
virtual memory is.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list