View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007287 | Community | OCCT:Foundation Classes | public | 2004-11-24 08:58 | 2006-06-29 09:15 |
Reporter | bugmaster | Assigned To | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 5.2.2 | ||||
Summary | 0007287: Problem of Memory Leak | ||||
Description | This problem was reported by Marcel Keller - see forum thread http://www.opencascade.org/org/forum/thread_7199/ Marcel Keller : We recieved indications of memory leak problems from one of our customers and simplified the code as shown below. After the for-loop memory increased about 30MB. #include "TopoDS_Shape.hxx" #include "TopoDS_Solid.hxx" #include "BRepPrimAPI_MakeBox.hxx" #include "BRepAlgoAPI_Cut.hxx" int main(int argc, char* argv[]) { TopoDS_Solid box1; TopoDS_Solid box2; for (int i=0; i<1000; i++){ box1 = BRepPrimAPI_MakeBox(100,100,100); box2 = BRepPrimAPI_MakeBox(50,50,50); BRepAlgoAPI_Cut cutOperation(box1, box2); } return 0; } | ||||
Additional information and documentation updates | Documentation remark, added by Oleg FEDYAEV (ofv) 2004-12-06 14:18:09: Improvements: Some memory leaks actual for boolean operations in memory management mode MMGT_OPT = 0 are fixed. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2004-11-24 12:35 | bugmaster | Assigned To | bugmaster => mkk |
2004-11-24 12:35 | bugmaster | Status | new => assigned |
2004-11-24 12:55 |
|
Assigned To | mkk => ofv |
2004-12-01 12:55 |
|
CC | => apv, ofv |
2004-12-03 16:44 |
|
CC | => msv |
2004-12-06 16:16 |
|
Status | assigned => resolved |
2004-12-08 14:01 |
|
CC | => aki |
2004-12-14 11:37 |
|
Status | resolved => tested |
2004-12-15 08:43 | bugmaster | Status | tested => verified |
2004-12-24 08:58 | bugmaster | Status | verified => closed |
2004-12-24 08:58 | bugmaster | Resolution | @0@ => fixed |
2005-01-12 18:59 |
|
Customer | => Community |
2011-08-02 11:23 | bugmaster | Category | OCCT:FDC => OCCT:Foundation Classes |