
Mon, 02/15/2010 - 13:49
Forums:
We are using IGESControl_Reader
we noticed that there is memory leak when using IGESControl_Reader
we found this memory leak when working on using VRAM for our software
we tried the following instructions to free memory used by IGESControl_Reader
without success
1) myIgesReader.IGESModel()->Destroy();
2) myIgesReader.Model()->clear();
3) myIgesReader.ClearShapes();
4) Handle(IGESToBRep_Actor)::DownCast(myIgesReader.WS()->TransferReader()->Actor())->SetModel (new IGESData_IGESModel);
//I found the instruction n° 4 in a blog
could you help us to use OpenCASCADE in a professional software
Best Regards and thanks in advance for your help
Wed, 02/29/2012 - 18:46
Hichem,
Have you found a solution to your memory leaks problem ??
Sun, 01/17/2016 - 02:56
I have the same problem. I have a function to call IGES reader which should be destroyed after the function call is finished.
But the memory of IGES reader is not cleaned up. When I call this function a few times, memory use keeps going up.