There is also a method called `ObjectSpace.memsize_of_all(String)` which is probably more efficient if we're just looking for totals.

I'm not sure which Ruby VMs support memsize_of, it doesn't appear to be documented.