Lantern Crawler

notes / under the hood

Watching memory

The tests keep an eye on how much memory the game uses.

  • The walking test fails if memory goes over about 220 MB.
  • Found a leak in the test program: one 500-frame clip ate 35.7 GB. Now it’s 699 MB.
  • Test programs that run away or use too much memory now get shut down.