<div dir="ltr">Hi Robin, <div><br></div><div>If you can reproduce this behavior with a small example code and post it somewhere, then can probably guide you better. But it seems that you are running into some sort of loop may be? What OS and VTK version is this? </div><div><br></div><div>Thanks</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 5:20 AM, Robin Picou <span dir="ltr"><<a href="mailto:robin.picou@audiogaming.net" target="_blank">robin.picou@audiogaming.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, I've just rebuilt VTK and the examples in 64 bits. No more crash, but the process takes 1.8 gb in RAM then freeze. I don't get why a 35mo file (the smaller I have) will take 1.8 gb after reading, especially while Paraview only needs something like 150 mb : / .</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-09-24 20:27 GMT+02:00 Robert Maynard <span dir="ltr"><<a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you tried compiling VTK as 64bit? This looks like you have ran<br>
out of process memory for a 32bit program.<br>
<div><div><br>
On Wed, Sep 24, 2014 at 12:25 PM, Robin Picou<br>
<<a href="mailto:robin.picou@audiogaming.net" target="_blank">robin.picou@audiogaming.net</a>> wrote:<br>
> Hi there !<br>
><br>
> I'm new to the VTK world, and I'm a bit lost at the moment.<br>
> I need to get a volumetric rendering of .vtk files (structured points), like<br>
> in Paraview ( see example here : <a href="http://imgur.com/qAKvynv" target="_blank">http://imgur.com/qAKvynv</a> ).<br>
><br>
> The HAVSVVolumeMapper example seems to do something very similar, but I'm<br>
> unable to load my files :<br>
><br>
> ERROR: In c:\vtk\vtk-6.1.0\common\core\vtkDataArrayTemplate.txx, line 314<br>
> vtkIdTypeArray (029CCDC0): Unable to allocate 145475925 elements of size 4<br>
> bytes.<br>
><br>
> ERROR: In c:\vtk\vtk-6.1.0\common\core\vtkDataArrayTemplate.txx, line 314<br>
> vtkIdTypeArray (029CB710): Unable to allocate 72737961 elements of size 4<br>
> bytes.<br>
><br>
> My files are quite big (50-60 mo, almost 20 million points), but in Paraview<br>
> it's loaded without any issues and the visualization is fast enough for my<br>
> needs.<br>
><br>
><br>
> The SmarlVolumeMapper example seems to be able to do this kind of rendering,<br>
> but I don't know how to use it with .vtk files, so if someone has some hints<br>
> on how to achieve this, I'll be deeply grateful !<br>
><br>
><br>
> Thanks in advance,<br>
> Robin<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<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://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div>
</div>