I am trying to cache out geometry from a sim via “ROP Geometry Output” but I don't have enough memory to use “All frames in one batch”. If I define a batch size myself, it will cache out the frames I defined, and then stalls, and never cache out the next batch.
Is there a way to tell “ROP Geometry output” that it have to cache from start to end, without needing to hold everything in memory?
Caching sim geometry, out of memory
2144 3 0- Anpi
- Member
- 8 posts
- Joined: May 2019
- Offline
- tpetrick
- Staff
- 586 posts
- Joined: May 2014
- Offline
Most PDG jobs are run out of process, with one process per work item. Simulations are usually run with All Frames in One Batch because you generally need the simulation to run in a single process for the entire frame range. If you have a 240 frame simulation and you set Frames per Batch to 120, PDG will start two independent processes: one for frames 1 - 120, and a second one for frames 121 to 240. The second process, which has no idea about the first or its results, will have to simulate frames 1 - 120 anyway in order to be able to begin writing out frames 121.
PDG doesn't determine what's kept in memory or discarded during the job's execution - it just cooks the underlying ROP Geometry node, with whatever settings it has and whatever settings are on the SOP network the ROP points to. It's the same as if you put down a Geometry ROP in /out, and clicked the Render button on it. You may need to play around with Caching options on your simulations DOP network.
PDG doesn't determine what's kept in memory or discarded during the job's execution - it just cooks the underlying ROP Geometry node, with whatever settings it has and whatever settings are on the SOP network the ROP points to. It's the same as if you put down a Geometry ROP in /out, and clicked the Render button on it. You may need to play around with Caching options on your simulations DOP network.
- Anpi
- Member
- 8 posts
- Joined: May 2019
- Offline
- tpetrick
- Staff
- 586 posts
- Joined: May 2014
- Offline
-
- Quick Links