leak tracking x64

S

Spurtus

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.
 
R

Roger Pack

Spurtus said:
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
 
C

Charles Oliver Nutter

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top