Memory
Overview on the Memory libraries
The memory library in RbxStu V3 provides methods to interact with memory in Luau. These range from making elements uncollectable to reading all of the GCable objects in memory. These functions may carry a certain risk within them.
Why?
When testing scripts, we want to make sure they do what they are doing correctly, or perhaps we want to snoop in the tables or buffers they're using. Because of this, it is important to have these functions. They also aid when wanting to keep something pinned in memory (if it is a Roblox instance) for debugging purposes using tools like Cheat Engine to try and obtain the information of the structure.
The memory library has slight modifications from the traditional ones, as it extends getgc
to include new GCables.
Last updated