I currently have a memory leak in my game. I tried looking and comparing snapshots in LuauHeap, but it doesn’t appear to be increasing. (Registry, objects, etc).
No objects, like RBXScriptConnections, appear to be increasing.
However, when I look at the memory graph of PlaceMemory, and Memory, it’s increasing and not coming down. I’m very confused, because my memory keeps going up but my LuaHeap doesn’t. I don’t think the other graphs have any effect because they’re so small in magnitude and don’t affect the total memory usage that much.
Does anyone know what I can do to find the cause of the memory leak?
Also, does anyone have any tips on how to reduce memory usage in general?
Any help would be appreciated!