Prev: .any?{} Behavior
Next: Compiling Ruby through JRuby?
From: Spurtus on 30 Jul 2010 05:52 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.
From: Roger Pack on 30 Jul 2010 07:56 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 -- Posted via http://www.ruby-forum.com/.
From: Charles Oliver Nutter on 4 Aug 2010 00:54 On Fri, Jul 30, 2010 at 6:56 AM, Roger Pack <rogerpack2005(a)gmail.com> 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
|
Pages: 1 Prev: .any?{} Behavior Next: Compiling Ruby through JRuby? |