Re: [Yade-users] [Question #670889]: memory leaks when instantiating an engine

2018-07-17 Thread Bruno Chareyre
Question #670889 on Yade changed: https://answers.launchpad.net/yade/+question/670889 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, following #452277 the solution is to implement a "reset" function in the engine itself to handle changes in the list of bodies. It

Re: [Yade-users] [Question #670889]: memory leaks when instantiating an engine

2018-07-15 Thread Zhang Wenyue
Question #670889 on Yade changed: https://answers.launchpad.net/yade/+question/670889 Status: Answered => Open Zhang Wenyue is still having a problem: Dear, Chareyre Yes, so the problem is how to delete the old one and free the memory. By Antoine in Question #452277, "del flow" is not

Re: [Yade-users] [Question #670889]: memory leaks when instantiating an engine

2018-07-15 Thread Chareyre
Question #670889 on Yade changed: https://answers.launchpad.net/yade/+question/670889 Status: Open => Answered Chareyre proposed the following answer: Hi, if i read correctly you are adding one more engine to O.engines every 100 iterations. Memory has to grow then, this in not a memory leak.

[Yade-users] [Question #670889]: memory leaks when instantiating an engine

2018-07-15 Thread Zhang Wenyue
New question #670889 on Yade: https://answers.launchpad.net/yade/+question/670889 Hi, I'm also doing some work related to the removal of particles, and I have a problem similar to Question #452277. https://answers.launchpad.net/yade/+question/452277 I tried to set the flowEngine.dead=1 and