Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion content/en-us/reference/engine/globals/LuaGlobals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
13 changes: 0 additions & 13 deletions content/en-us/reference/engine/globals/RobloxGlobals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading