Leak tracking x64

Have easily reproducable memory leaks, need to find them.

I’m running Ruby 1.8.6 on an windows7 x64 machine.

I checked out memprof, bleak_house et al. I can’t find anything
compatible with my architecture / ruby version and prefer not to patch
VM.

would it be worthwhile trying to walk the GC or is there some gem /
tool or technique that I should be aware of?

Cheers,
Spurtus.

Spurtus wrote:

Have easily reproducable memory leaks, need to find them.

I’m running Ruby 1.8.6 on an windows7 x64 machine.

I checked out memprof, bleak_house et al. I can’t find anything
compatible with my architecture / ruby version and prefer not to patch
VM.

The only one I’m actually aware of (except perhaps Ruby based
implementations like Dike gem) is
http://www.softwareverify.com/ruby/memory/index.html.

You might also get some traction from using jruby-esque tools.

http://blog.headius.com/2010/07/browsing-memory-with-ruby-and-jdi.html

Post back with your results.
-r

On Fri, Jul 30, 2010 at 6:56 AM, Roger P. [email protected]
wrote:

You might also get some traction from using jruby-esque tools.

http://blog.headius.com/2010/07/browsing-memory-with-ruby-and-jdi.html

Post back with your results.

I would second the JRuby option. If it’s a library problem and the
app/libraries all work under JRuby (they should unless they use things
we don’t/can’t support), using JRuby to search for leaks is a great
option.

Also see the first two posts in that series:

http://blog.headius.com/2010/07/browsing-memory-jruby-way.html
http://blog.headius.com/2010/07/finding-leaks-in-ruby-apps-with-eclipse.html

  • Charlie

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