In the C++ code, I created an engine(HydroForceEngine) which use a variable vxFluct. In my python script, I actualize the variable vxFluct each period tau doing :
HydroForceEngine.vxFluct = X
When X is big and tau is small, there is a memory leakage : for example, with 8300 bodies (so for len(X) = 8300), after ~6500 actualization of the variable, the simulation takes about 40% of the memory of my computer; while the same code after the same time and without actualizing the variable takes 0.5% of the memory of my computer.
Hi all,
As asked by Anton, I report a similar problem. This is related to the question : https:/ /answers. launchpad. net/yade/ +question/ 253112
In the C++ code, I created an engine( HydroForceEngin e) which use a variable vxFluct. In my python script, I actualize the variable vxFluct each period tau doing : e.vxFluct = X
HydroForceEngin
When X is big and tau is small, there is a memory leakage : for example, with 8300 bodies (so for len(X) = 8300), after ~6500 actualization of the variable, the simulation takes about 40% of the memory of my computer; while the same code after the same time and without actualizing the variable takes 0.5% of the memory of my computer.
Raphaël