yuanming-hu / taichi_mpm

High-performance moving least squares material point method (MLS-MPM) solver. (ACM Transactions on Graphics, SIGGRAPH 2018)
MIT License
2.34k stars 317 forks source link

Why is memory usage increasing? #7

Closed haeriamin closed 5 years ago

haeriamin commented 5 years ago

Hi, thank you for this amazing tool. I'd like to know why memory usage increases during the run of an example with 2m particles and it's killed at second 3 of the simulation; ty.

screen shot 2018-11-08 at 02 07 36

yuanming-hu commented 5 years ago

Thanks for the feedback! We haven't run this code on a machine with < 32 GB memory. One possibility is that SPGrid does not release the touched blocks. I will take a look when I have a chance.