MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031120Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2019-11-01 12:282019-11-20 18:09
Reportermsv 
Assigned Tojgv 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.4.0 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0031120: Memory leak in BRepOffsetAPI_MakeOffset
DescriptionThere is memory leak when offsetting a wire using BRepOffsetAPI_MakeOffset.
Steps To Reproducerestore wire.brep w

for {set i 0} {$i < 1000} {incr i} {
  mkoffset r w 1 0.5
  if ![expr $i%100] {
    puts "i = $i, mem = [lindex [meminfo h] 0]"
  }
}

Output:
i = 0, mem = 8723622
i = 100, mem = 9464422
i = 200, mem = 10205222
i = 300, mem = 10946022
i = 400, mem = 11686822
i = 500, mem = 12427622
i = 600, mem = 13168422
i = 700, mem = 13909222
i = 800, mem = 14650022
i = 900, mem = 15390822
TagsNo tags attached.
Test case number
Attached Files? file icon bug31120_wire.brep (1,056 bytes) 2019-11-15 14:18

- Relationships

-  Notes
(0088703)
git (administrator)
2019-11-01 15:30

Branch CR31120 has been created by msv.

SHA-1: b56c43fb52cae3c2f2fcd788e0bf8948cac670bf


Detailed log of new commits:

Author: msv
Date: Fri Nov 1 15:05:43 2019 +0300

    0031120: Memory leak in BRepOffsetAPI_MakeOffset
(0088704)
msv (developer)
2019-11-01 15:31

This is a beginning patch.
(0088995)
git (administrator)
2019-11-15 14:16

Branch CR31120 has been updated forcibly by jgv.

SHA-1: 918fa41fd70e2e2933d7b0ed8c38f1e6d9b487d6
(0088996)
jgv (developer)
2019-11-15 14:19

Please add the attached shape to database.
(0089038)
msv (developer)
2019-11-18 09:56

Done.
(0089084)
git (administrator)
2019-11-19 18:17

Branch CR31120 has been updated forcibly by jgv.

SHA-1: b49675eab88da80929318d88ea7bbca798c47099
(0089108)
git (administrator)
2019-11-20 17:12

Branch CR31120 has been updated by jgv.

SHA-1: da017d208f4e2374156d4655a561afd922209cf2


Detailed log of new commits:

Author: jgv
Date: Wed Nov 20 17:10:32 2019 +0300

    Fix of regression

(0089109)
jgv (developer)
2019-11-20 17:47

Please review the branch CR31120.
(0089110)
msv (developer)
2019-11-20 18:09

The following changes are useless:
src/MAT/MAT_Bisector.cxx
src/MAT/MAT_Bisector.hxx
src/MAT/MAT_Edge.cxx
src/MAT/MAT_Edge.hxx

The test case needs to be changed so as to generate error in case of memory leak.

- Issue History
Date Modified Username Field Change
2019-11-01 12:28 msv New Issue
2019-11-01 12:28 msv Assigned To => msv
2019-11-01 12:28 msv File Added: wire.brep
2019-11-01 15:30 git Note Added: 0088703
2019-11-01 15:31 msv Note Added: 0088704
2019-11-15 14:16 git Note Added: 0088995
2019-11-15 14:18 jgv File Deleted: wire.brep
2019-11-15 14:18 jgv File Added: bug31120_wire.brep
2019-11-15 14:19 jgv Note Added: 0088996
2019-11-15 14:19 jgv Status new => feedback
2019-11-18 09:56 msv Note Added: 0089038
2019-11-18 09:56 msv Assigned To msv => jgv
2019-11-18 09:56 msv Status feedback => assigned
2019-11-19 18:17 git Note Added: 0089084
2019-11-20 17:12 git Note Added: 0089108
2019-11-20 17:47 jgv Note Added: 0089109
2019-11-20 17:47 jgv Assigned To jgv => msv
2019-11-20 17:47 jgv Status assigned => resolved
2019-11-20 18:09 msv Note Added: 0089110
2019-11-20 18:09 msv Assigned To msv => jgv
2019-11-20 18:09 msv Status resolved => assigned


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker