my game’s got this super weird memory leak. like, the memory just keeps climbing nonstop and i have no idea why. untracked is spiking like crazy but luaheap looks totally fine. i tried using luauheap to figure it out and the array section keeps shooting up even though literally nothing inside has changed. i’m losing my mind over this
i’ve got a november deadline and i can’t even work properly cause of these stupid memory leaks. someone please help!!
There is nothing we can do if you don’t provide more details, like showing the problematic script’s source for example
it doesn’t show any scripts spiking by 30000 I don’t know what the problematic script is
yeah, you’re on your own twin ![]()
![]()
It looks like you may be creating a bunch of arrays that hold data and not freeing them when they are unused and hence they’re taking up memory.
It also looks like you may be creating a bunch of instances and then not cleaning them up when unused.
Do you have any scripts that might do stuff like this?
Most of my scripts that use “table.insert()” clean them up after
I regularly use maid in my game also.
Does the untracked section just spike randomly or is it occurring during specific events?


