View Issue Details

IDProjectCategoryView StatusLast Update
0004406PathBugpublic2020-10-15 17:54
Reporterjanc.linders Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version0.19 
Summary0004406: Increasing Memory usage when using Path WB and Adaptive Processing
DescriptionUsing the PATH WB and Adaptive processing not releasing memory.
Repeating the PostProcessing into a GRBL file increases the memory use until exhausted.
Steps To ReproduceA simple test file is over 2 Mb. Not able to attach.
Is there another way to share this ?

Here are the steps.

Goto PART WB
Create 2 simple boxes (10,10,10) (5,5,5)
Cut small from big box leaving a pocket in the huge box
Switch the PATH WB.
Process the pocket using Adaptive Processing.
Post Process to GRBL

Lowering the StepDown from 0,1 mm to 0,01 mm shows it even better.
Tags#post-to-forum
FreeCAD InformationOS: Ubuntu 18.04.4 LTS (LXDE/Lubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21975 (Git)
Build type: Unknown
Branch: master
Hash: 9b18c2dc196e294ed00850897894eb5d0d9435a2
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

Activities

openBrain

2020-07-25 09:47

developer   ~0014684

@janc.linders : please address your issue by first opening a topic in our forum (as per our reporting guidelines). Thx

janc.linders

2020-07-25 14:33

reporter   ~0014688

@openBrain : Hi , Sure, I'll address this is the forum first.
Should i place the status of this in suspended ?

Regards,

openBrain

2020-07-25 16:54

developer   ~0014689

@janc.linders : don't care too much about the status. :) Please just cross-post links between here and the topic you'll open. ;) Thx

Kunda1

2020-07-31 13:10

administrator   ~0014693

@janc.linders has this been posted to the forum yet?

janc.linders

2020-07-31 19:19

reporter   ~0014695

@Kunda1 , yes it has been posted in the forum.
See : Using the PATH WB and Adaptive processing not releasing memory. Repeating the PostProcessing into a GRBL file increases.

sliptonic

2020-10-06 23:07

manager   ~0014783

I believe the issue is related to this discussion.
https://forum.freecadweb.org/viewtopic.php?f=15&t=50583

A PR is pending.

Kunda1

2020-10-15 15:58

administrator   ~0014866

Can this issue be retested since FreeCAD master ab4ab444 was committed ?
Please update to the latest v0.19 to test.
@sliptonic @janc.linders

janc.linders

2020-10-15 17:30

reporter   ~0014870

I have downloaded the latest nightly.
Is that ok to test the resolution for this issue ?

OS: Ubuntu 18.04.5 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 71cd301ca78259c55398a0919e3277fe3cc0a390
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

sliptonic

2020-10-15 17:49

manager   ~0014871

In my testing, the situation is better but not completely resolved. I think there's still a memory leak related only to the adaptive operation and having nothing to do with the grbl post.
There's still one change to the grbl post which has not been merged yet.

janc.linders

2020-10-15 17:54

reporter   ~0014872

First testing shows indeed an improvement. Less increase. :-)
Also (for me at least) a strange behavior is that after you completely close the design , the memory stays high.
I would expect that memory use drops after closing a document.
Restarting and loading the model brings it back to the start usage.

Issue History

Date Modified Username Field Change
2020-07-15 06:56 janc.linders New Issue
2020-07-25 09:47 openBrain Note Added: 0014684
2020-07-25 09:47 openBrain Status new => feedback
2020-07-25 09:47 openBrain Tag Attached: #post-to-forum
2020-07-25 14:33 janc.linders Note Added: 0014688
2020-07-25 14:33 janc.linders Status feedback => new
2020-07-25 16:54 openBrain Note Added: 0014689
2020-07-31 13:10 Kunda1 Note Added: 0014693
2020-07-31 19:19 janc.linders Note Added: 0014695
2020-10-06 23:07 sliptonic Note Added: 0014783
2020-10-15 15:58 Kunda1 Note Added: 0014866
2020-10-15 17:30 janc.linders Note Added: 0014870
2020-10-15 17:49 sliptonic Note Added: 0014871
2020-10-15 17:54 janc.linders Note Added: 0014872