View Issue Details

IDProjectCategoryView StatusLast Update
0003771PartBugpublic2019-01-23 21:41
ReporterDeepSOIC Assigned Towmayer  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.18 
Target Version0.18Fixed in Version0.18 
Summary0003771: Memory leak in Part.Face.Surface
Descriptionusing .Surface attribute of face shape leaks memory

https://forum.freecadweb.org/viewtopic.php?f=22&t=33356
Steps To Reproducerun this in console:
import Part
cub = Part.makeBox(10,10,10)
for i in range(1000000):
    sf = cub.Faces[0].Surface

The memory usage jumps to about 1GB and stays high.
Additional InformationOS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15518 (Git)
Build type: Release
Branch: master
Hash: e83c44200ab428b753a1e08a2e4d95e03236e481
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)
TagsAPI, python
FreeCAD Information

Issue History

Date Modified Username Field Change
2019-01-13 10:11 DeepSOIC New Issue
2019-01-13 10:11 DeepSOIC Tag Attached: API
2019-01-13 10:11 DeepSOIC Tag Attached: py
2019-01-13 10:47 DeepSOIC Steps to Reproduce Updated
2019-01-13 11:11 Kunda1 Tag Attached: python
2019-01-13 11:12 Kunda1 Tag Detached: py
2019-01-13 11:20 Kunda1 Assigned To => wmayer
2019-01-13 11:20 Kunda1 Severity major => block
2019-01-13 11:20 Kunda1 Status new => assigned
2019-01-13 11:20 Kunda1 Target Version => 0.18
2019-01-23 21:41 wmayer Status assigned => closed
2019-01-23 21:41 wmayer Resolution open => fixed
2019-01-23 21:41 wmayer Fixed in Version => 0.18
2019-01-23 21:41 wmayer Note Added: 0012499