PrivateWorkingSetBytes (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>LocalChum
Created page with "<onlyinclude> {{Property |name = PrivateWorkingSetBytes |description = Retrieves the amount of Private Working Set memory currently allocated to Roblox, which is measured in b..."
>LocalChum
No edit summary
Line 18: Line 18:
</code>
</code>
}}
}}
[[Category:Properties]]

Revision as of 17:58, 25 February 2012

PrivateWorkingSetBytes
Type Integer
Description Retrieves the amount of Private Working Set memory currently allocated to Roblox, which is measured in bytes.
Member of DebugSettings


Usage

Example

Note: If you attempt to call settings() from a regular Script or LocalScript, it will throw an error. It must be called from the Command Bar or a CoreScript.
print(settings().Diagnostics.PrivateWorkingSetBytes / 1024) -- Get the Private Working Set of Roblox in megabytes.