View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003340 | Draft | Bug | public | 2018-02-07 12:44 | 2021-04-12 06:14 |
Reporter | wmayer | Assigned To | yorik | ||
Priority | high | Severity | block | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 0.17 | ||||
Target Version | 0.20 | ||||
Summary | 0003340: Massive memory leak in Draft | ||||
Description | When 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 Information | https://forum.freecadweb.org/viewtopic.php?f=10&t=26784 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
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 |
|
Out of curiosity what makes you believe that there is a leak in pivy? |
|
Try this https://forum.freecadweb.org/viewtopic.php?f=10&t=26784&start=20#p216270 |
|
See this: https://forum.freecadweb.org/viewtopic.php?f=10&t=26784&start=30#p219240 |
|
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... |
|
@yorik, what's the status of this? is that something that could be done now? |
|
It needs testing again, basically. I have not observed this anymore, but it needs to be metered precisely to make sure. |
|
I think i've observed a huge augmenting of memory used when changing from 2d to 3d and back into 2d several times on the dimension object... Do you experience the same? |
|
Is this the memory leak solved in FreeCAD master ab4ab444 ? thread: https://forum.freecadweb.org/viewtopic.php?f=15&t=50583 |
|
Tracking in https://forum.freecadweb.org/viewtopic.php?f=8&t=51016 |
|
When building FreeCAD with -fsanitize=address then this build reports that an SoSeparator isn't deleted. The node contains an SoCoordinate3 and an SoLineSet. The amount of memory is only a few KB. |
|
This ticket has been migrated to GitHub as issue 5761. |
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 |
2019-06-20 01:49 | Kunda1 | Severity | major => block |
2019-06-20 13:16 | Kunda1 | Relationship added | related to 0003993 |
2020-06-14 21:17 | carlopav | Note Added: 0014547 | |
2020-06-15 08:13 | yorik | Note Added: 0014548 | |
2020-06-15 17:17 | carlopav | Note Added: 0014554 | |
2020-10-10 12:53 | Kunda1 | Note Added: 0014816 | |
2020-10-10 12:53 | Kunda1 | Note Edited: 0014816 | |
2020-10-10 12:58 | Kunda1 | Note Added: 0014817 | |
2020-11-21 16:36 | Kunda1 | Changeset attached | => FreeCAD master ab4ab444 |
2021-02-06 06:45 | abdullah | Target Version | => 0.20 |
2021-04-12 06:14 | wmayer | Note Added: 0015610 |