Memory allocation reporting?

I created a script that using up alot of memory very quickly. All the
resources like file handles, db results, and objects are being freed. I
using a third party library so I am wondering if the problem lies with
My question is what would I use to make a report showing how much memory
being allocated by which objects, methods and variables. I remember a
professor doing something like this with run times in c++ with the gcc

On Mon, Mar 24, 2008 at 10:22 AM, Joey M. [email protected]

Joey M.

You could try Bleakhouse or mem-inspect.

**Disclaimer - I’ve used neither of these gems

“Hey brother Christian with your high and mighty errand, Your actions
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)

On Mar 24, 2008, at 10:22 AM, Joey M. wrote:


Joey M.

the simplest way to see what’s happening is probably dike

gem install dike

take a snapshot before and after an allocation by the lib the use dike
to do a diff.


a @

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs