tyFlow Forum
How can I solve the problem of computer memory overflow using the "Node per particle" - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: How can I solve the problem of computer memory overflow using the "Node per particle" (/thread-3606.html)



How can I solve the problem of computer memory overflow using the "Node per particle" - cgdvs - 04-04-2023

Hi,Tyson!

  There are two options for exporting ABC in the new version. The new option 'Node per particle' can compress file size, but I encountered a problem during actual export, as this mode will particularly consume computer memory! When I use the first mode (Single collapsed mesh) to export files, it only consumes a very low amount of computer memory. But when I was using the new mode ("Node per particle"), my memory kept rising, eventually leading to the computer's memory overflowing and causing MAX to crash. What I want to ask is that this mode is particularly unfriendly for exporting large scenes. Can there be a way to control memory?
Because there is a large scene in the project that requires exporting an ABC file, the exported file has a size of "400GB", which is very large. I saw that you mentioned during the release that "Node per particle" mode can effectively compress file size, so I immediately used the "Node per particle" mode to export files. When exporting to half of the time, the computer memory was full. Do you know if there is a solution to this memory issue in the future? (My computer has 128GB of memory)
Of course, I have been semi closing the 'Enable RAMCache' option throughout the entire process.
thank you


RE: How can I solve the problem of computer memory overflow using the "Node per particle" - tyFlow - 04-04-2023

That really depends on the setup....and it's possible you ran into a memory leak (bug) as well.

Node-per-particle is ideal for setups where you have a lot of particles whose mesh does not change over time. If your setup involves particles whose meshes are constantly changing, you may not see a benefit.

If you send me the scene or describe the setup further I can look into it and see if it's a bug, or just a setup that won't benefit from the new mode.

You can also try exporting a smaller sequence of frames (not enough to fill your RAM) and see if the RAM usage returns to normal when the export is complete. If it does not, then there's probably a memory leak happening somewhere that I need to fix.


RE: How can I solve the problem of computer memory overflow using the "Node per particle" - cgdvs - 04-04-2023

This scene is a bit big, you need some patience when opening it. I will send it to you via email. thank you