I have tested the PIHouse.zip file
When i pressed solve assembly in asm3 with all shapes selected i got:
Code: Select all
maiden@Slaven2:~/Downloads$ ./FreeCAD-asm3-20180806-7e75d680-b678c36.glibc2.17-x86_64.AppImage
FreeCAD 0.17, Libs: 0.17R5235 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
** (freecad-daily:26245): WARNING **: 19:31:33.605: invalid source position for vertical gradient
** (freecad-daily:26245): WARNING **: 19:31:33.605: invalid source position for vertical gradient
<asm3.main> 23.600631 - mover.py(291): exception when moving part
Traceback (most recent call last):
File "/tmp/.mount_FreeCA4faxLK/usr/lib/freecad-daily/Ext/freecad/asm3/FCADLogger.py", line 83, in _catch
return func(*args,**kargs)
File "/tmp/.mount_FreeCA4faxLK/usr/lib/freecad-daily/Ext/freecad/asm3/mover.py", line 243, in getMovingElementInfo
raise RuntimeError('no sub-object in selection')
RuntimeError: no sub-object in selection
Killed
Without selection i got when the following result after pressing solve assembly:
Code: Select all
maiden@Slaven2:~/Downloads$ ./FreeCAD-asm3-20180806-7e75d680-b678c36.glibc2.17-x86_64.AppImage
FreeCAD 0.17, Libs: 0.17R5235 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
** (freecad-daily:26367): WARNING **: 19:32:32.731: invalid source position for vertical gradient
** (freecad-daily:26367): WARNING **: 19:32:32.731: invalid source position for vertical gradient
Killed
I tried again after closing google-chrome (freeing up a little more memory) and this time i got:
Code: Select all
FreeCAD 0.17, Libs: 0.17R5235 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
** (freecad-daily:15690): WARNING **: 21:00:25.337: invalid source position for vertical gradient
** (freecad-daily:15690): WARNING **: 21:00:25.337: invalid source position for vertical gradient
<asm3.sys> 30.756612 - sys_slvs.py(52): redundant constraints
** (freecad-daily:15690): WARNING **: 21:01:05.964: invalid source position for vertical gradient
** (freecad-daily:15690): WARNING **: 21:01:05.964: invalid source position for vertical gradient
Terminated
In this last try i had to kill FreeCAD from my terminal, HTOP told me i had almost no CPU utilization but 100% MEM consumed by 10x instances! of freecad-daily...
@realthunder, memory leak? I had this running on a 4 core, 8 thread system with 8GB ram.
I am curious, why do FreeCAD launch 10x instances of freecad-daily?
I tested to open/close assembly files several times but memory usage did not increase.
Pressing solve increases memory usage, closing assembly files do not reduce memory usage, closing freecad will result in memory cleanup a few seconds after freecad GUI have closed. I can take a deeper look at this with valgrind/gdb, but i guess you have a good idea on what is happening?
My guess is that the python solver keeps the memory "active/referenced" so its not released/freed.
- Screenshot from 2018-08-07 21-23-38.png (253.6 KiB) Viewed 2065 times
image after pressing solve and then closed all files