I think my case is similar to this case which shows that Dev Console is causing insane memory leaks.
I have spotted out an insane high lua heap in my game, it seems very uncanny and stagy to me. My game usually does not reach over 1000 MB of memory. And this somehow happened after staying in the game for around 20 minutes.
Pic 1: Overall memory on 1.3k MB:
Pic 2: Insane Lua Heap:
The LuaHeap is up high in 188 MB. While in few months ago, it does not even exceed 25 MB max.
Pic 3: PlaceScriptMemory is in a typical behavior
However, the PlaceScriptMemory only accounted for 4 MB. Which I think is a quite reasonable amount.
Pic4: Insane CoreScripts memory:
Here is where the disaster is: CoreScripts accounted for 140 MB???
Pic5: Spotted the possible root cause of this:
I have spotted these few scripts are taking an insane amount of 106 MB memory.
Do I have to take up responsibility for this? The data kinda shows that my game code does not even take up 2% of the total LuaHea memory, is there anything I can do to reduce the memory?