View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0027535 | Community | OCCT:Visualization | public | 2016-05-24 11:13 | 2016-10-25 20:15 |
| Reporter | Vico Liang | Assigned To | bugmaster | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | unable to reproduce | ||
| Platform | Windows | OS | VC++ 2013 | ||
| Product Version | 6.9.1 | ||||
| Summary | 0027535: V3d_Viewer::RedrawImmediate cause memory leaking | ||||
| Description | Create animation on any layer of below: Graphic3d_ZLayerId_Top Graphic3d_ZLayerId_Topmost Graphic3d_ZLayerId_TopOSD and then call RedrawImmediate will cause memory leaking. code snippet as below: Handle(AIS_InteractiveContext) aContext = ; if (myMeshList.IsEmpty()) { aContext->Display(aMeshVS, Standard_False); aContext->SetZLayer(aMeshVS, Graphic3d_ZLayerId_Top); } else { ... Handle(MeshVS_Mesh) aMeshVS = Handle(MeshVS_Mesh)::DownCast(aIter.Value()); Handle(MeshVS_NodalColorPrsBuilder) aNodeBuilder = Handle(MeshVS_NodalColorPrsBuilder)::DownCast(aMeshVS->FindBuilder("MeshVS_NodalColorPrsBuilder")); ... TColStd_DataMapOfIntegerReal aScaleValue; aNodeBuilder->SetTextureCoords(aScaleValue); aContext->Redisplay(aMeshVS, Standard_False); } } Handle_V3d_Viewer aViewer = myDocumentModule->GetGeomViewOccManager(); aViewer->RedrawImmediate(); If i change aViewer->RedrawImmediate() to aVierer->Update(), there is no memory leaking. | ||||
| Tags | No tags attached. | ||||
| Test case number | Not needed | ||||
|
|
I run the code above in a timer, and then watch the memory foot print. The momery comsumes very quickly. |
|
|
I can not observe described behavior on current master. Please provide complete test case (with creation of interactive object and test data) with memory usage information (e.g. actual numbers on each iteration). Naturally, it is better to test OCCT 7.0.0 or current master. |
|
|
Dear bugmaster, please close this issue as not reproducible. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-05-24 11:13 | Vico Liang | New Issue | |
| 2016-05-24 11:13 | Vico Liang | Assigned To | => kgv |
| 2016-05-24 12:02 | Vico Liang | Note Added: 0054331 | |
| 2016-05-26 14:56 | kgv | Note Added: 0054449 | |
| 2016-05-26 14:56 | kgv | Assigned To | kgv => Vico Liang |
| 2016-05-26 14:56 | kgv | Status | new => feedback |
| 2016-10-13 16:14 | kgv | Note Added: 0058672 | |
| 2016-10-13 16:14 | kgv | Assigned To | Vico Liang => bugmaster |
| 2016-10-13 16:14 | kgv | Resolution | open => unable to reproduce |
| 2016-10-13 16:14 | kgv | Target Version | 7.1.0 => |
| 2016-10-25 20:15 | apn | Test case number | => Not needed |
| 2016-10-25 20:15 | apn | Status | feedback => tested |
| 2016-10-25 20:15 | apn | Status | tested => closed |