Memory Usage Tracking

In a long line of debug features it’d be useful to have.

Wouldn’t it be nice if there was a way of giving objects that allocate a lot of memory names, and having the ability to report on what what using all the RAM in your application.

Tricky I imagine, but it’d be very nice when a user says “it’s using a lot of RAM”.

I’m up for suggestions about how to actually do this now as well!

If you’re on macOS you can get a lot of this information using Instruments (comes with Xcode).

Yeah, less useful when it’s an issue on a user system.

That said, it used to be useful on the Mac, but now when I open instruments and choose allocations I get a kernel panic from MacOS and it reboots :frowning:

I’ll look into that but I think they’ll want me to upgrade Xcode and that’ll break some other stuff!