What is the recommended way of profiling memory usage of apps within RubyMine?

What is the recommended way of profiling the memory usage of apps within RubyMine?

I have an app that just grows and grows and grows.... until a malloc fails

Thanks,

3 comments
Comment actions Permalink

Hello Ifor,

What is the recommended way of profiling the memory usage of apps within RubyMine?

I have an app that just grows and grows and grows.... until a malloc fails

The common way to profile memory is described in: http://www.jetbrains.net/devnet/docs/DOC-1144
Please provide some more information on your environment, RubyMine has known issues on MacOS X Java Update 4

Regards,
Oleg

0
Comment actions Permalink

The app grows and grows on the Ruby 1.8.6 command line too... I just need to determine why within the IDE.

My environment is...

Mac OS X 10.5.7, MacBook Pro, 2Gb RAM
RubyMine 1.1
J2SE 5.0

Is that OK?

Thanks,

Ifor

0
Comment actions Permalink

Hello Ifor,

Oleg thought that in your case RubyMine itself was growing until a crash. RubyMine doesn't have built-in profiling integration/support for ruby programs. So you should use standard profiling tools for ruby applications, e.g ruby-prof.

0

Please sign in to leave a comment.