-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak #28
Comments
I'll test. |
So far, after 4 minutes of sitting there doing nothing, memory allocated by FC dropped from 201 MB to 200 MB. Like you said, I made a rectangular Pad, and attached a Placement to a corner with "Translate origin" mode. |
Well, I created 1000 placements by exploding a polar array. Now I can see it leaking in real time, about 0.5 MB/s |
No Part-o-Magic. I've got A2plus installed but not using it in the model or even opening the workbench. Can test without it but it sounds like you're on it already. |
I now tried Part Explode of a Draft Array (1000 cubes). Same memory creep. Didn't even open Lattice2. However, Part Explode is actually using Lattice2 (Part CompoundFilter is Lattice CompoundFilter with slight modifications). Investigation continues... |
Made 1000 pure Part Cubes.
still creeps up =( |
Disabled all addons. No creep... |
Okay, the creep I am observing clearly comes from Part-o-magic. I pause its observer, and the creep stops. Now, re-enabling other add-ons... |
With PoM observer paused, I'm not seeing any leak with my Lattice2 explode-array-of-1000 test. |
Some of the leaking I'm seeing may be Path related. I did the 1000 cube test above and saw no leak. Switching to Path wb and the leak started. Will investigate. |
@sliptonic did anything ever come of this ? |
I think Lattice2 has a memory leak. I left a model open over night and my machine was almost unusable in morning. I have 16GB and FreeCAD had almost all of it.
I closed and reopened FreeCAD and the model and the memory started to creep up immediately. After playing with it some, I've observed the following:
I created a simple rectangular pad, added a placement to the corner and it leaks roughly 3MB/Minute
Here's my FreeCAD info. This is basically the master branch as of yesterday with a some python only changes in Path. I can re-verify with a clean build of master if necessary.
OS: Debian GNU/Linux buster/sid (i3/i3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16726 +1 (Git)
Build type: Unknown
Branch: (HEAD detached at mlampert/feature/4th-axis-setup)
Hash: 599ed42f7968cb90811e73e94c7c60ead7ee3484
Python version: 3.7.3rc1
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
The text was updated successfully, but these errors were encountered: