Open NickKhalow opened 1 month ago
Can you investigate to see if this happens for you @QThund ? You can now access profile builds here too: https://github.com/decentraland/unity-explorer/actions/workflows/build-profile-nightly.yml
It's the Garbage Collector. I've checked all the threads, there is one big allocation every now and then but the sum of the allocations of all the threads does not equal the total. There is a discrepancy between what the profile shows in the objects hierarchy and what it shows in the Memory chart. This allocation coincides with a big deallocation. For example, it grows in 230Kb, and releases around 20Mb. Allocated memory grows slowly due to SceneRuntime processing of CRDT messages (take a look to SceneRuntime.CrdtSendToRenderer thread in the profiler).
Issue Description:
These spikes occur in random time running the game. It happens both in the editor and the build.
STR:
Additional Notes:
Occured on Mac, M1 Pro