Memory usage is 3000MB in studio but much lower in game. Data received and sent are relatively optimized Lua heap goes up with instance count
How to emulate the problem:
How To
Join the game and press “L” to open performance stats., then wait 5 minutes and the instance count will go up by 20000.
Fixes I have tried:
Fixes
I have tried fixing the problem by using Maid Cleaner literally any chance I have (Didn’t Work)
Tried deleting most or all of the scripts and it was still going up.
Cleaned my studio and reinstalled, as well as wiping my plugins folder.
Used another performance UI and same thing shown.
Have you tried debugging by checking whats summoning the instances? It looks like you have a memory leak that’s just summoning a large amount of instances.
Asking “help” yet not providing any further details doesn’t make it any easier to help.
Sorry about the late reply. If you check lua heap, you can check what part of the game is increasing. You can’t necessarily check what’s actually summoning them, though if you know the ins and outs of the game you shuold know where an instance would be spawning.