<div dir="ltr"><div><div>250 MB is not large chunk of memory if your existing data did not not use more than 1 GB of memory total.<br></div><div><div>If you have more you may or may not have problems with fragmentation.,<br>
Check how much memory your process is using before reading image, see how memory grows during execution.<br></div><div>Fact that you run 32 bit process on 64 bit system should also decrease probability that fragmentation is a problem since in such case you may get access up to 4 GB of data instead of 2GB 32 windows is normally limited.<br>
</div><div><br></div>Also You can put such code into separate small executable which would do just re-slicing in order to exclude <br></div><div>fragmentation.<br></div><br><br></div><div>Alex</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 2:30 PM, Massinissa Bandou <span dir="ltr"><<a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thanks for reply David,<br>
<br>
I'm using window7 64bits 4Gb of memory and I'm programming on vs2010. the<br>
configuration manager is set to win32.<br>
<br>
Massi<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkImageReslice-tp5722020p5722022.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkImageReslice-tp5722020p5722022.html</a><br>
<div class="im HOEnZb">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>