diff --git a/content/en-us/reference/engine/globals/LuaGlobals.yaml b/content/en-us/reference/engine/globals/LuaGlobals.yaml index de0025478..c3ae9f224 100644 --- a/content/en-us/reference/engine/globals/LuaGlobals.yaml +++ b/content/en-us/reference/engine/globals/LuaGlobals.yaml @@ -64,7 +64,7 @@ functions: Roblox's Lua sandbox only allows the `count` option to be used (the total memory in use by Lua, in kilobytes), as other options can interfere with existing processes. Effectively, this makes - `Global.RobloxGlobals.gcinfo()` a superior alternative that should be used + `Global.LuaGlobals.gcinfo()` a superior alternative that should be used instead. parameters: - name: operation @@ -79,6 +79,19 @@ functions: tags: - Deprecated code_samples: + - name: gcinfo + summary: | + Returns the total memory heap size in kilobytes. + description: | + Returns the total memory heap size in kilobytes. The number reflects the + current heap consumption from the operating system perspective, which + fluctuates over time as garbage collector frees objects. + parameters: + returns: + - type: number + summary: '' + tags: + code_samples: - name: error summary: | Halts thread execution and throws an error. diff --git a/content/en-us/reference/engine/globals/RobloxGlobals.yaml b/content/en-us/reference/engine/globals/RobloxGlobals.yaml index 5b668c634..355f30108 100644 --- a/content/en-us/reference/engine/globals/RobloxGlobals.yaml +++ b/content/en-us/reference/engine/globals/RobloxGlobals.yaml @@ -146,19 +146,6 @@ functions: summary: '' tags: code_samples: - - name: gcinfo - summary: | - Returns the total memory heap size in kilobytes. - description: | - Returns the total memory heap size in kilobytes. The number reflects the - current heap consumption from the operating system perspective, which - fluctuates over time as garbage collector frees objects. - parameters: - returns: - - type: number - summary: '' - tags: - code_samples: - name: PluginManager summary: | Refers to the PluginManager, a deprecated singleton that was previously