← Back to team overview

yade-users team mailing list archive

Re: [Question #702325]: Abnormal increase in memory usage

 

Question #702325 on Yade changed:
https://answers.launchpad.net/yade/+question/702325

    Status: Needs information => Open

Gao Xiang gave more information on the question:
Hello, Robert.
Thanks for your reply,  when I prepare an MWE,  I might have found  the problem through testing every line code. When I stopped the multiprocessing(Python) method, the script started working well. 
Therefore, I think I need a more  large memory, in my test script,  I used 1024 RVEs with 400 particles, and my PC's memory is only 16GB.
When I  am using  "sceneToString" and "stringToScene"   and  multiprocessing method before, the script working well and the memory is enough, so I ingored it, and it seems like that the “switchToScene() ” needs much more memory, i still think it is a very good function to save many time.
Although, i can not explain why the  memory increasing occurring after  O.run(nsteps, True) at early stage,  and it will be stable after   several iterations. 
I hope my experience can help others,now i think the MWE is not important, Should I turn the state of problem into "solved".

Again, thank Robert 's patient reply!

Sincerely,
Gao

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.