View Issue Details

IDProjectCategoryView StatusLast Update
0003340DraftBugpublic2019-02-16 22:27
ReporterwmayerAssigned Toyorik 
PriorityhighSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version0.17 
Target Version0.19Fixed in Version 
Summary0003340: Massive memory leak in Draft
DescriptionWhen using e.g. the dimension tool and hovering over a shape causes a huge memory leak. A user reported that the total memory consumption went up to 11 GB (!!!)
Additional Informationhttps://forum.freecadweb.org/viewtopic.php?f=10&t=26784
TagsNo tags attached.

Activities

yorik

2018-03-08 15:15

administrator   ~0011023

This is now reduced as much as we can on the FreeCAD side I think. There is still some memory leak somewhere in pivy, though. But this has ow been minimized as much as possible.

I suggest we either close this now, as there is AFAICS not much more we can do in the FreeCAD code itself, or leave it open, removing the 0.17 target, in case someone wants to dig into the pivy code later, as after all, it has become more or less our baby (or Looo's :) ) now...

In any case I'll remove the 0.17 tag

wmayer

2018-03-08 15:50

administrator   ~0011025

Out of curiosity what makes you believe that there is a leak in pivy?

yorik

2018-03-08 17:32

administrator   ~0011026

Try this https://forum.freecadweb.org/viewtopic.php?f=10&t=26784&start=20#p216270

wmayer

2018-03-08 20:19

administrator   ~0011027

See this: https://forum.freecadweb.org/viewtopic.php?f=10&t=26784&start=30#p219240

yorik

2019-02-16 22:27

administrator   ~0012668

This one fell far below my radar... In any case the problem is not big anymore, more several optimizations to do, so better to reschedule for 0.19...

Issue History

Date Modified Username Field Change
2018-02-07 12:44 wmayer New Issue
2018-02-09 11:01 yorik Assigned To => yorik
2018-02-09 11:01 yorik Status new => assigned
2018-03-03 11:23 Kunda1 Target Version => 0.17
2018-03-08 15:15 yorik Note Added: 0011023
2018-03-08 15:15 yorik Target Version 0.17 =>
2018-03-08 15:50 wmayer Note Added: 0011025
2018-03-08 17:32 yorik Note Added: 0011026
2018-03-08 20:19 wmayer Note Added: 0011027
2018-05-31 00:19 Kunda1 Target Version => 0.18
2019-02-16 22:27 yorik Note Added: 0012668
2019-02-16 22:27 yorik Target Version 0.18 => 0.19