Jump to content
lazza79

Is there a way to debug memory consumption?

Recommended Posts

lazza79    3

Hi Guys,

I have a simulation with roughly 50K RBDs and 27K constraints.
All the rbds are packed (using mid button H16 says that they occupy 40mb instanced) but still, when I perform the sim, it takes up all my ram 63.8Gb.

Is there a way I can debug this? How do I know what is taking memory?

Thank you!
Lazza

Share this post


Link to post
Share on other sites
Atom    516

I guess you would use the Performance Monitor to try to determine where memory consumption is the greatest.

Really? 50,000 RBD objects. Whew that is a lot.

If your motherboard supports up to 128GB maybe you could upgrade your memory?

Share this post


Link to post
Share on other sites
lazza79    3

Thank you Atom,

Performance monitor, afaik, actually only returns the times of the single processes... am I wrong?

My MB can be upgraded to 128 but it's too expensive...

Thanks!
Lazza79

Share this post


Link to post
Share on other sites
lazza79    3

Ops, I just realized that I can enable "memory stats" in the Performance editor.... :D

Now I know where is the mem consumption, the problem is I don't know why...

2017-03-13_184808.png

  • Like 1

Share this post


Link to post
Share on other sites
cwhite    45

Around 10GB of memory usage in the Bullet solver is in the ballpark of what I'd expect for a sim of that size. Is there any indication of what nodes account for the other ~50GB (perhaps SOPs for the simulation's input geometry)?

Share this post


Link to post
Share on other sites
lazza79    3

actually, this result is just after 30/40 frames. Most of the rbds are still inactive...

You mean outside the dop? I mean, where the dops "points" for the RBD packed geos?

Edited by lazza79

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×