[vtk-developers] vtk-developers Digest, Vol 68, Issue 43
L.J. van Ruijven
L.J.vanRuijven at amc.uva.nl
Thu Dec 17 05:46:48 EST 2009
Hi Olivier,
I worked on a similar system (win32, 4 GB RAM, Visual Studio, C++) and experienced the same problems. 250 MB was really the upper limit for this configuration.
There is a Matlab utlilty (I forgot the name) that can give an overview of the memory usage. It seemed as if Windows loads its drivers at random in memory. So a reboot did not help very much.
When I switched to 64-bit windows all memory issues were gone. I have loaded image files of 5 GB. And the total memory usage has even reached 11 GB. Also 64-bit Python and TCL/TK run OK. But I never tried to use VTK with C#.
Succes,
Leo.
> Hello,
>
> I tried to reboot my pc (windows xp 3 Gb ram), I tried to another PC,
> and I found that this limit seem to be around the same value, all the
> time during my tests.
>
> I continue to investigate.
>
> Thank you
> Olivier
>
> On Wed, 2009-12-16 at 10:23 -0700, David Gobbi wrote:
> > Hi Oliver,
> >
> > There are no hidden memory limits in VTK, but the vtkImageData object
> > will always allocate the whole image as one contiguous block of
> > memory. On Win32 systems this is a problem, because Win32 suffers
> > from memory fragmentation, i.e. if it has been a long time since your
> > last reboot then even if there is a lot of memory available, it is
> > only available in relatively small chunks.
> >
> > Sometimes just rebooting will solve the problem. Or you can move
> to a
> > system that doesn't suffer so badly from memory fragmentation, like
> > 64-bit WinXP. I also seem to remember reading somewhere that Windows
> > 7 has reduced memory fragmentation.
> >
> > David
> >
> >
> > On Wed, Dec 16, 2009 at 9:45 AM, Olivier Robin
> > <Olivier.Robin at bioclinica.com> wrote:
> > > Hello,
> > >
> > > I am working under project using vtk (the Activiz version), under
> window
> > > XP SP1, visual studio. my project is in c#.
> > >
> > > when I use object like vtkImageData, or vtkUnsignedShortArray,
> and try
> > > to allocate memory, I have a low memory limit, around 90 Mbyte,
> may be a
> > > little bit more.
> > >
> > > is there an officially limit in using memory with theses object (My
> > > vtkImageData would like to use more than 110 Mbyte, because I
> have a
> > > Dicoml SErie with more than 1600 slices) ?
> > > is there a way to modify trhis limit ?
> > >
> > > thank you for any feedback
> > > Olivier
> > >
> > > --
> > > Confidentiality Notice: This e-mail transmission may contain
> confidential or legally privileged information that is intended only
> for the individual or entity named in the e-mail address. If you are
> not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, or reliance upon the contents of
> this e-mail is strictly prohibited. If you have received this e-mail
> transmission in error, please reply to the sender and then delete the
> message from your computer. Thank you.
> > > --
> > > _______________________________________________
> > > Powered by www.kitware.com
> > >
> > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> > >
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.vtk.org/mailman/listinfo/vtk-developers
> > >
> > >
>
> --
> Confidentiality Notice: This e-mail transmission may contain
> confidential or legally privileged information that is intended only
> for the individual or entity named in the e-mail address. If you are
> not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, or reliance upon the contents of
> this e-mail is strictly prohibited. If you have received this e-mail
> transmission in error, please reply to the sender and then delete the
> message from your computer. Thank you.
> --
>
>
> ------------------------------
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
> End of vtk-developers Digest, Vol 68, Issue 43
> **********************************************
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: L.J.vanRuijven.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: Card for "L.J. van Ruijven" <L.J.vanRuijven at amc.uva.nl>
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20091217/7ed0cb12/attachment-0001.vcf>
More information about the vtk-developers
mailing list