ID 398146 - Flush Caches does not clear RAM after deletion of a large number of locations

Follow

Problem summary:

Customer quote from Forum:

"It looks like there is no way to clear the RAM used to expand the scene graph, even after removing geometry, etc from the scene.

I created a simple scene using an opscript to generate a given number of cubes. I started with a single cube and fully expanded the scene graph to get a baseline for my RAM usage. I then upped the number of cubes to 8^5 which, after fully expanding the scene graph, increased my RAM usage by about 2G. Finally I set the opscript back to generating only a single cube, which did not change the RAM usage. Even after hitting the 'Flush Caches' button, my RAM usage was still 2G above the baseline, despite now only having a single cube in the scene again.

This is causing an issue for our artists since after expanding a large scene they currently have no way to regain the RAM used except by closing and re-opening Katana."

Steps to reproduce:

  1. Open Katana and a performance monitor that shows RAM use
  2. In Katana, open the example project: Generating Geometry in OpScript
  3. Edit Opscript_lsysString
  4. View scene from Opscript_lsystem
  5. In Parameters tab, expand the User parameter, and change the iterations to 1
  6. In the Scene Graph tab, expand the scene, Observe a slight increase in RAM usage
  7. In Parameters tab, expand the User parameter, and change the iterations to 4
  8. In the Scene Graph tab, expand the scene, observe a more significant increase in RAM usage
  9. In Parameters tab, expand the User parameter, and change the iterations to 1

Expected behaviour:

A change in the RAM usage either:

  • When the Scene Graph tab is collapsed and expanded
  • When flushing Caches after scene graph has been re-calculated

Actual behaviour:

No decrease in RAM usage when a large number of locations are no longer in the scene

Workaround:

No known workaround.

Tested versions/platforms:

  • 3.0v1 - Affected

Customer version/platform:

Not supplied

    We're sorry to hear that

    Please tell us why