Skip to content
Image & Canvas setMemoryLimit

$setMemoryLimit — Sets the memory limit of a set of decode options (kept, the decoder has its own limits).

Sets the memory limit of a set of decode options (kept, the decoder has its own limits).

Syntax

$setMemoryLimit[name;limit]

Parameters

  • name (String, required) — Options name
  • limit (Number, required) — Limit

Return Value

  • None.

Usage

$setMemoryLimit[name;limit] → result

Example

$sendMessage[$setMemoryLimit[name;limit]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.