Page 1 of 1

Simulation crashes i think because the memory rise

Posted: 09 Apr 2020, 16:08
by m_jau
Hello,
i made a simulation where i put some objects into a box. This objects i lift and check. After i have lift all objects i remove all objects and generat a new situation. this i want to do for 25000 times. But the Programm crashes every time by around 20 cycles.
But i don't know why. The memory (RAM) rises over the simulation time. I think this is the problem, but i don't know how i have to solve this problem.

Please help me, thank you a lot

Re: Simulation crashes i think because the memory rise

Posted: 13 Apr 2020, 08:23
by coppelia
Hello,

can you prepare a minimalistic scene that illustrates the problem? Then we can test it here.

Cheers

Re: Simulation crashes i think because the memory rise

Posted: 14 Apr 2020, 10:52
by m_jau
I think i got the reason for the crahses.
What is the maximum of the counter for the Handles?
When i reached the max of the Counter the Programm crashes, is this possible?
And ist there a opportunity to reset the Handle Counter with out crash?

Thank you

Re: Simulation crashes i think because the memory rise

Posted: 14 Apr 2020, 14:11
by coppelia
do you mean object handles? This shouldn't be the reason, unless you create more than 100000 objects or similar...

A very simple scene (or script) illustrating the crash would help ;)

Cheers

Re: Simulation crashes i think because the memory rise

Posted: 13 May 2020, 11:27
by m_jau
I change the Physics engine from Newton to Bullet 2.83. Now it works :)

Thank you and Cheers :)