Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when calling dump_all #20

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

Error when calling dump_all #20

edraut opened this issue Jan 11, 2012 · 1 comment

Comments

@edraut
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants