RubyMine memory usage
RubyMine 4.5.2 on Mac OS X 10.8.1
My project has been sitting idle for several hours, and now RubyMine is using > 1.2 GB. Is this normal?
Why does it need so much RAM? Memory usage continues to climb even when the app is idle. Why is that?
Here's a line count:
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Javascript 136 6756 7447 29089
Slim 122 5606
Ruby 95 1139 187 6791
CSS 13 1411 249 6170
XML 4 1 0 1132
HTML 9 57 74 243
YAML 1 0 1 2
-------------------------------------------------------------------------------
SUM: 258 9364 7958 43427
-------------------------------------------------------------------------------
Is 1.2 GB really needed for a project of this size?
Is there any way I can reduce RubyMine's memory footprint?
Thanks!
Please sign in to leave a comment.
Hi,
It looks like a bug for me.
Could you please provide a memory snapshot (see http://devnet.jetbrains.net/docs/DOC-1144 for instructions how to take it)
and report bug in out tracker (http://youtrack.jetbrains.com/issues/RUBY)
Thanks in advance, Oleg.
Sorry but I do not see the Memory Snapshot button. Can you provide a screen shot, perhaps? Thanks.
Here is a screenshot from my RM 4.5.3 (two rightmost buttons on the toolbar are profiler's ones).
Regards, Oleg.
Attachment(s):
profiling_buttons.png
That's weird - I do not see those buttons. I am running the latest version, just downloaded, on Mac OS Mountain Lion.
I love RubyMine, but if I can't get a handle on this memory issue I will have to find another editor, which would make me very sad.
Have you been able to complete all steps described in http://devnet.jetbrains.net/docs/DOC-1144?
(Have you added -agentlib:yjpagent to Info.plist? And do you use 64-bit or 32-bit JVM?)
Regards, Oleg.
Sorry, I didn't realize that plist setting was needed for Memory snapshotting. I've enabled it and will send the memory snapshot shortly. Thanks.
Bug filed: http://youtrack.jetbrains.com/issue/RUBY-12015
Ok, thanks, we will look at this problem.
Oleg.