|Topic was automatically imported from the old Question2Answer platform.
I have a script where I generate some MeshInstance’s when _ready() is called.
In the same script, _process() toggles the visibility of all the MeshInstances on every update.
When I play the game, the Static Memory constantly, indefinitely, and permanently increases!
+No other memory monitor stats increase.
+Letting it run for an hour resulted in the Godot using 16GB of memory (and climbing).
+Freeing all MeshInstance objects from memory does not lower the Static Memory usage.
+Toggling visibility every second instead of every frame yields the same results, but with a slower increase in Static Memory.
Here is my project file. Please help!
Can You please paste this script here instead ?
Inces | 2022-02-03 17:03