Free tool

Script Memory Estimator

A rough idea of how much memory a script will use, which parts are heaviest, and a probe to read the real number in-world.

Paste an LSL script for a rough idea of how much memory it will use, which parts are the heaviest, and what to trim. Scripts that run out of memory stop with a “Stack-Heap Collision” error. This is an estimate from the source (give or take 30%); for the true number, add the probe at the bottom to your script and read the real figure in-world.

Your script

Estimated use

Paste a script to begin.

PartBytes

What to look at

Memory probe

Paste the function into your script and call Mem("after setup"); at the points you care about. On Second Life these are real numbers; some OpenSim versions report fixed values.