--000e0cd2e12c771c5b0463742079 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit What about http://rubyforge.org/projects/live-console/ ? I've used it more than once for exactly what you describe... -- Yehuda 2009/2/21 Roger Pack <rogerdpack / gmail.com> > After using jvm a bit, I'll admit it has a few things of which I am > jealous. > jconsole: attaches to a running process, shows you current GC stats > over time, and also current backtraces for running threads [updated > every few seconds]. > > http://redmine.ruby-lang.org/issues/show/977 > attempts the backtraces aspect of that, for 1.8.7 > Twould also be a nice feature for 1.9, if at all possible. > The GC stats are possible if you compile it with the right settings, > in 1.9 [though I've never used them], so that's there. > > Ability to "dump" all the memory of the JVM, and thus look through the > references for memory leaks [via references to unuseful objects]. > > There is a patch [2] that allows for the traversal of all the objects > in memory. Any chance a patch for that would be acceptable? [I'd be > happy to submit one]. > Thanks much. > - > [2] > http://timetobleed.com/plugging-ruby-memory-leaks-heapstack-dump-patches-to-help-take-out-the-trash/ > > -- Yehuda Katz Developer | Engine Yard (ph) 718.877.1325 --000e0cd2e12c771c5b0463742079 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit What about <a href ttp://rubyforge.org/projects/live-console/">http://rubyforge.org/projects/live-console/</a> ?<br><br>I've used it more than once for exactly what you describe...<br><br>-- Yehuda<br><br><div class mail_quote"> 2009/2/21 Roger Pack <span dir tr"><<a href ailto:rogerdpack / gmail.com">rogerdpack / gmail.com</a>></span><br><blockquote class mail_quote" styleorder-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> After using jvm a bit, I'll admit it has a few things of which I am jealous.<br> jconsole: attaches to a running process, shows you current GC stats<br> over time, and also current backtraces for running threads [updated<br> every few seconds].<br> <br> <a href ttp://redmine.ruby-lang.org/issues/show/977" target blank">http://redmine.ruby-lang.org/issues/show/977</a><br> attempts the backtraces aspect of that, for 1.8.7<br> Twould also be a nice feature for 1.9, if at all possible.<br> The GC stats are possible if you compile it with the right settings,<br> in 1.9 [though I've never used them], so that's there.<br> <br> Ability to "dump" all the memory of the JVM, and thus look through the<br> references for memory leaks [via references to unuseful objects].<br> <br> There is a patch [2] that allows for the traversal of all the objects<br> in memory. Any chance a patch for that would be acceptable? [I'd be<br> happy to submit one].<br> Thanks much.<br> - br> [2] <a href ttp://timetobleed.com/plugging-ruby-memory-leaks-heapstack-dump-patches-to-help-take-out-the-trash/" target blank">http://timetobleed.com/plugging-ruby-memory-leaks-heapstack-dump-patches-to-help-take-out-the-trash/</a><br> <br> </blockquote></div><br><br clear ll"><br>-- <br>Yehuda Katz<br>Developer | Engine Yard<br>(ph) 718.877.1325<br> --000e0cd2e12c771c5b0463742079--