/memtrim¶
Script-provided
Registered by memtrim. Start it with /lua run memtrim.
Syntax¶
/memtrim
Description¶
Trim the process working set immediately, on top of the script's automatic periodic trims.
/memtrim takes no arguments — it's a one-shot manual trigger for a trim that
otherwise happens on its own schedule: every 5 minutes, and again 60 seconds
after each zone change. Each trim prints a before/after working-set size in MB.
If eq2.trim_working_set isn't available (older build), the script prints a
message and exits immediately without registering the command.
Examples¶
/memtrim
memtrim: manual — trimmed 340 MB (1820 -> 1480 MB)