Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error when calling dump_all #20

Open
edraut opened this Issue · 1 comment

2 participants

@edraut

I've been using memprof with my project, specifically the stats and dump methods. They work perfectly. However, when I attempt to use the dump_all method, I get this:

#

Can you tell me if this is a bug or if there is some configuration I need to do?

I'm running REE 1.8.7 2011.03

Thanks,
Eric

@jwigal

It doesn't look like the error you posted actually appeared in this post.

I'm also seeing an error when I call "dump_all":

1.8.7 :001 > require 'memprof'
Failed to determine offset of heaps_slot->limit
Failed to determine offset of heaps_slot->slot
You won't be able to dump your heap!
 => true 
1.8.7 :002 > Memprof.dump_all "file.txt"
Memprof::Unsupported: not enough config data to dump heap
    from (irb):2:in `dump_all'
    from (irb):2
    from /home/jeff/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/specification.rb:1332
1.8.7 :003 > 

I'm using the latest version of REE, 2012.02, CentOS 6.2, 64 bit

Any idea on what I need to configure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.