Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

lazza79

Is there a way to debug memory consumption?

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

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

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

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

1 person likes this

Share this post


Link to post
Share on other sites

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

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

Yeah, I meant the SOP network where the RBD objects' geometry comes from

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