Dave Cowden a écrit :
> Hello, everyone!

Hi Dave,

>  
> I have a slicing program up and running!

Good point! Looking forward to seing any screenshot or part of code!

>  
> Unfortunately, when I try to do large numbers of slices or larger 
> objects, my memory usage continually rises.

This bug was identified while peparing the PDE2009 slicing sample: we 
noticed a huge memory consumption with high number of slices. This high 
memory oncumption comes from the BRepAlgoAPI_Cut which is not released. 
I thought it was fixed but thanks to you I realize that the fix is buggy!

For now, you have to add the line 'bc.Destroy()' (you can remove all 
additinal *.Delete lines). You can have a look to the 
/samples/Level2/Concurreny/parallel_slicer.py code: it's a tweak already 
in use in this sample. When the fix is commited to the subversion 
repository, this will be automatically handled by pythonOCC.

Cheers,

Thomas


_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to