Memory leak

Memory a program keeps holding after it can no longer use it, so usage grows over time even when the load stays the same.

Think of it as A coat check that never gives coats back: the rack fills even though the room is not busier.

Luau frees a value only when nothing references it any more. A table entry keyed by a Player who left, or a connection whose function mentions an object, keeps that value alive. On Roblox servers, rising LuaHeap or InstanceCount at steady player counts is the usual sign; Luau heap snapshots compared by memory category show where.

Official reference: create.roblox.com

Related terms