About 385,000 results
Open links in new tab
  1. Garbage Collection and Memory Leaks in Roblox - What you should …

    Oct 24, 2019 · This article is meant to teach you how to prevent memory leaks and how the Roblox lua garbage collector works. What is garbage collection? Garbage collection, for those who are new to …

  2. What is garbage collecting and when should I manually do it ... - Roblox

    May 28, 2020 · This article is meant to teach you how to prevent memory leaks and how the Roblox lua garbage collector works. What is garbage collection? Garbage collection, for those who are new to …

  3. A Beginner’s Guide to Lua Garbage Collection - Roblox

    Apr 15, 2022 · This article is designed to introduce complete beginners to the concept of Lua garbage collection and how Lua handles automatic memory management. ㅤ A Beginner’s Guide to Lua …

  4. Lua garbage collection question - Scripting Support - Roblox

    Mar 25, 2022 · Firstly, you aren’t going to trigger GC, the function for that is collectgarbage and it is deprecated on Roblox. GC in Lua 5.1 is incremental and runs mark and sweep collection. It runs …

  5. What is gcinfo () and How do I use it? - Roblox

    Sep 25, 2020 · I think most of Lua’s garbage collection functions are disabled on Roblox. If you manage your data properly (nullify unused variables or disconnect unneeded events) the GC should handle it …

  6. __GC (Mind blowing) - Creations Feedback - Roblox

    Dec 18, 2014 · Warning: This code can blow your mind It’s basicly some code to detect whenever something garbage collects. You can connect a handler to it, a function to be called when it happens. …

  7. __gc implementation - Scripting Support - Developer Forum | Roblox

    Sep 10, 2018 · Well I believe the metamethod is restricted on Roblox due to security issues. Typically I would try to avoid relying on GC for custom replication patterns. Instead I would try to explicitly code …

  8. Public Handbook | GC - Bulletin Board - Developer Forum | Roblox

    Introduction Welcome to Guitar Central! This public handbook was made to enlighten users of our community, how we operate, and to provide resources in an organized manner. About Us Guitar …

  9. What is gcinfo ()? - Scripting Support - Developer Forum | Roblox

    Jul 10, 2024 · so i discovered that this thing after reading memory leaks forums: while wait (.5) do print (gcinfo ()) end i played on my game a bit and i discovered that everytime i used a tool the gcinfo will …

  10. When are tables GC'ed? - Help and Feedback / Scripting Support

    Jun 24, 2020 · Lets say for example I hold a reference to a character in a table located in a starter character script, when this scripts gets destroyed will the tables inside of it get GC’ed as well, or do I …