[vtkusers] VTK+ Bad Memory Allocation

John Drescher drescherjm at gmail.com
Tue Apr 12 19:22:01 EDT 2011


On Tue, Apr 12, 2011 at 6:51 PM, Alex <mrapsouthern at gmail.com> wrote:
> Hi,
>
> I realise this is not a greatly detailed explanation of the problem but I
> thought I'd see if this rings any bells with anyone first....
>
> Basically, my application makes large dynamic memory allocations (using
> new), I find that I get seemingly random bad allocation errors. These
> allocations are of type int.
>
> When I make the VTK renderwindow small, the allocation errors stop, (or at
> least they do not occur for the same allocation size)
>
> The memory allocations have nothing to do with the VTK pipeline.
>
> If anyone has any information about memory issues vs. VTK i'd appreciate it.
>

Are you using 32 bit windows? Remember that will be limited to 1.2GB
to 1.5GB max allocation size of the 2GB address space unless you
activate /LARGEADDRESSAWARE and boot with the /3GB switch.


-- 
John M. Drescher



More information about the vtkusers mailing list