<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Ok, I did not understand "inside out" as "by default inside is out" but rather "clic this if you want that inside be out", I always understood that clipping a space by a given volume was supposed to be an action to limit the working space by the closed volume, as for a view frustum.<br>Anyway let us comme back to my memory management problem and look at this funny experience.<br>I have an unstructured dataset with a large number of point data fields.<br>First I tried to determine the largest dataset I could load in my computer memory. So I increased the number of point data fields till ParaView crashes and I managed to load 1.9GB.<br>Now another experience. I load the same dataset with 11 scalar fields and 1 vector field, all of this consuming 722MB. Now I clip it with a plane approximatively at the center of the volume. So I would expect that the total memory size necessary for storing the pipeline be in the range 722+722/2 and 722x2, that is between duplicate just half the volume or duplicate it entirely and just keep in mind that there is a cutting plane somewhere. And ParaView crashes for memory reason as just as a litte bit more than half of the job was done.<br>I do not understand the error message below and especially why ParaView requires 189M elements of 4 bytes each since my dataset has 6.23M points and 6.26M cells, 11 scalar fields and 1 vector field (all as point data, no cell data).<br>I still think that there is a real issue in memory management.<br>I use ParaView 3.4.0 on a Mac.<br><br>paraview(236,0xa0405720) malloc: *** mmap(size=756289536) failed (error code=12)<br>*** error: can't allocate region<br>*** set a breakpoint in malloc_error_break to debug<br>ERROR: In /usr/local/ParaView-3.4.0/VTK/Common/vtkDataArrayTemplate.txx, line 324<br>vtkIdTypeArray (0x34362930): Unable to allocate 189071391 elements of size 4 bytes. <br><br><br><hr id="stopSpelling">From: kmorel@sandia.gov<br>To: paul.m.edwards@gmail.com; stan1313@hotmail.fr<br>CC: paraview@paraview.org<br>Date: Thu, 3 Sep 2009 09:04:10 -0600<br>Subject: Re: [Paraview] How to extract a subdataset?<br><br>
<title>Re: [Paraview] How to extract a subdataset?</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Somehow I missed this original email.<br>
<br>
I don’t think BuildLinks is a good explanation here. If you have removed 99 out of 100 cells, I can’t imagine the output growing to take up twice as much memory just because links were built. The clip filter will also tetrahedral your data, but that should only grow it by a factor of at most 6, not 200.<br>
<br>
I assume you are using the Clip filter with Clip Type of Box. Are you sure that the output contains the cells that are inside the box (the 1%) rather than outside the box (the 99%)? By default, the clip filter will clip away everything inside the box and leave the rest. To get only the cells in the box, you have to click on the Inside Out checkbox. If you set the representation to Surface, do you get what you expect? Does the cell count drop by a factor of 100?<br>
<br>
BTW, using Extract Cells By Region was a good suggestion. If you are just interested in extracting a group of cells, this filter should be more efficient and consume less memory.<br>
<br>
-Ken<br>
<br>
<br>
On 9/3/09 5:54 AM, "Paul Edwards" <<a href="http://gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">I think this is the result of BuildLinks being called.<br>
<br>
Regards,<br>
Paul<br>
<br>
2009/9/3 Fred Fred <<a href="http://hotmail.fr">stan1313@hotmail.fr</a>><br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">I mean without having the subset be more memory consumming than its including part!<br>
I have an unstructured data set with 9 scalar data fields, which occupies 573 MB, I clip it with a very small box (less than 1% of the whole domain) and the resulting subset occupies 1,920 MB!! Nice!<br>
So:<br>
1) how is it possible?<br>
2) how to clip an unstructured dataset with the expected resulting effect on the memory size?<br>
<br>
<br>
<hr align="CENTER" width="100%" size="3">Messenger débarque dans Hotmail ! Essayez-le ! <<a href="http://www.windowslive.fr/hotmail/web-messenger/">http://www.windowslive.fr/hotmail/web-messenger/</a>> <br>
<br>
_______________________________________________<br>
Powered by www.kitware.com <<a href="http://www.kitware.com">http://www.kitware.com</a>> <br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
</span></font><font size="1"><font face="Monaco, Courier New"><span style="font-size: 7.5pt;"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a href="http://sandia.gov">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
</span></font><br /><hr />Un avatar à votre image ? <a href='http://www.ilovemessenger.fr/minimize-me' target='_new'>Créez votre mini-moi !</a></body>
</html>