have opened a issue at:
The installation of memprof was successful. And is on a virtualized on a
XEN instance.
uname -a
Linux foo-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 GNU/Linux
ruby -v
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770,
Ruby Enterprise Edition 2010.02
But, i am getting “Segmentation fault” when i run the example from the
README
ruby foo.rb foo.rb:5: [BUG] Segmentation fault
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770,
Ruby Enterprise Edition 2010.02
Aborted
CODE:
require ‘rubygems’
require ‘memprof’
Memprof.track {
100.times{ “abc” }
100.times{ 1.23 + 1 }
100.times{ Module.new }
}
What i am doing wrong?
thanks,
deepak
Deepak K. wrote:
have opened a issue at:
memprof got installed but fails with segmentation fault · Issue #7 · ice799/memprof · GitHub
The installation of memprof was successful. And is on a virtualized on a
XEN instance.
uname -a
Linux foo-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 GNU/Linux
ruby -v
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770,
Ruby Enterprise Edition 2010.02
But, i am getting “Segmentation fault” when i run the example from the
README
Maybe it’s not REE compatible, since REE uses a different GC style?
-r