About 381,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. Party Is Here! Unlock a New Level of Engagement - Roblox

    Dec 2, 2024 · [Update] March 10, 2025 Our vision is to reimagine the way people come together. Communication is core to that vision, so we’re excited to share a new way to connect and coordinate …

  10. Make __gc work on tables - Engine Features - Roblox

    Aug 26, 2018 · As a Roblox developer it is impossible to know when your table/“object” is garbage collected AND “destroyed” in the general scenario Having the __gc metamethod would help prevent …