Error when calling dump_all #20

Open
edraut opened this Issue Jan 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@edraut

edraut commented Jan 11, 2012

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:

<Memprof::Unsupported: not enough config data to dump heap>

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

This comment has been minimized.

Show comment
Hide comment
@jwigal

jwigal Jun 2, 2012

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?

jwigal commented Jun 2, 2012

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