It's complicated. Probably what they were seeing was that mime-types was directly allocating a chunk of memory, let's say 8mb.
Now what could happen is if they app is on the edge of needing to increase it's own heap size, then the mime-types gem might push it over the edge.
For example. You have an app that needs 99mb to run. The Ruby VM allocates up to 100mb for it to run in. Now mime-types get's allocated and suddenly it needs 107mb to run. So Ruby has to increase the heap, it does this based off of a multiplier, for example 80% so it bumps the heap up to 180mb even though we really only need 107mb.
That might be what's happening and why they're seeing such a huge savings.