Simulation crashes i think because the memory rise

Report crashes, strange behaviour, or apparent bugs
Post Reply
m_jau
Posts: 16
Joined: 09 Apr 2020, 12:44

Simulation crashes i think because the memory rise

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Simulation crashes i think because the memory rise

Post by coppelia »

Hello,

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

Cheers

m_jau
Posts: 16
Joined: 09 Apr 2020, 12:44

Re: Simulation crashes i think because the memory rise

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Simulation crashes i think because the memory rise

Post 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

m_jau
Posts: 16
Joined: 09 Apr 2020, 12:44

Re: Simulation crashes i think because the memory rise

Post by m_jau »

I change the Physics engine from Newton to Bullet 2.83. Now it works :)

Thank you and Cheers :)

Post Reply