in reply to Re^3: How to put a fat program on a (memory) weight-loss diet?
in thread How to put a fat program on a (memory) weight-loss diet? [SOLVED]

I don't get the expected results in the second case. Although the first output gives a size of 5113317 for my main application namespace, an individual listing of it shows only a handful of names with a size of 112 attached to each one.

Edit:   Okay, I worked it a little-bit more and found out both “what %:: is for” and that it is a hash-of-hashes. (Sounds dumb, yes, but new-to-me.)

And basically what it seems to come down to is ... ummm ... “gee, it all adds up!” More than 4 megabytes of now-known-to-be precious memory is occupied by a DBIx::Class::Schema! And nearly 30 megabytes in all of ... “stuff.”

Uh, oh... I don't think this is gonna be a situation where I can just wrap a magic weight-loss belt around it.

Replies are listed 'Best First'.
Re^5: How to put a fat program on a (memory) weight-loss diet?
by BrowserUk (Patriarch) on Mar 04, 2009 at 18:34 UTC