RubyMine is painfully slow

I updated to 3.2.4.

As it was before, RubyMine is still painfully slow.
Approximately 1 time per 2-3 minutes it hangs for 15-20 seconds.
I just cannot work in such conditions.

All this stuff happens at my Intel 920 8 core, 6Gb ram, SSD drive.

How can I help JetBrains to make RubyMine faster?

18 comments

Dennis, thank you for your recommendations.

EAP you provided above just does not work.

It successfuly opens project (and directory) as "Rails project", but it has disabled "Run","Run configuration", etc buttons.

It is not good to work when you cannot run project under IDE, I think.

Have we to test it's file edit robustness?

0

Could you please provide screenshot and your idea.log(Help | Reveal log in ...)?

0

Here it is.

If you need something else, please let me know.



Attachment(s):
eap.png
idea.log.zip
0

It looks like run actions are disabled due to indexing (see the progress in the status bar). They should become available once the indexing finishes. Does it finish indexing?

0

RubyMine 3.2.4 and EAP 4.0 (110.209) is very slow and causes high CPU utilization
on my Macbook Air (2nd Gen, 1.86Ghz Intel Core Duo 2, 4GB RAM, 128 GB SSD).

On my office and home office Macs I don't have that problems (maybe because of their
stronger CPU).

After a couple of minutes CPU load comes back to normal. But it's a pain when you quickly
need to open RubyMine, do some stuff and close it (that's what I'm doing regularly on my Macbook).

I couldn't attach memory and cpu capture files to this thread... but I'm happy to send it
by email to Jetbrains.

0

Dennis, thank you for pointing me to indexing delay. Actually I was able to run the server (by pressing Run button).

However EAP has another delay lags.
1. It performs sporadical delays for 0.5-1 second during normal text editing process.
Often it shows "circle progress" at the upper-right corner of project explorer tab.
2. It hangs for 10-20 seconds sometimes when I try to ctrl+click right-click for some rails method or plugin methods or app methods.

I will try to work a little more in EAP to better determine it's hanging patterns.

0

I totally agree.  I just bought a new license for  3.2.4 and it is painfully slow.  Almost impossible to work with.  The main area of extreme sluggishness are: code completion, code inspection, refactoring (i.e. extracting a variable), go to class, go to file.  It is also very inconsistent in when it is slow and when it is not.  It may be fine for a few code completions and then it is slow again.  I tried invalidating caches and recreating a project from scratch - no difference.
The peformance was find in 3.1.x.   I have a brand new laptop with pretty "beefy" specs.   Everything else flies on this machine.  But Rubymine is close to be unusable.

Guys, you need to get to the bottom of this ASAP.  And by the way, asking people to go to EAP 4.0 is not an aswer!

I have been a long time Idea and Rubymine user (since the very first version) and this is the first time that I am extremely frustrated with your efforts.  Please fix it.

BTW,  Idea works just fine for me (not sure if it helps).

0

Hello Lev,

The main focus of the RubyMine 4.0 release is improving the performance.
Getting it right has required a major internal reachitecture of the product,
and there is no sense in backporting it to the 3.2.x branch (this would essentially
mean releasing RubyMine 4.0 under the name of 3.2.something, which doesn't
make a lot of sense). Because of that, until the final release of 4.0, asking
you to go to EAP 4.0 is the only answer that we'll be able to provide.

Note that RubyMine 4.0 will be a free upgrade for you once it's released.

I totally agree.  I just bought a new license for  3.2.4 and it is
painfully slow.  Almost impossible to work with.  The main area of
extreme sluggishness are: code completion, code inspection,
refactoring (i.e. extracting a variable), go to class, go to file.  It
is also very inconsistent in when it is slow and when it is not.  It
may be fine for a few code completions and then it is slow again.  I
tried invalidating caches and recreating a project from scratch - no
difference.

The peformance was find in 3.1.x.   I have a brand new laptop with
pretty "beefy" specs.   Everything else flies on this machine.  But
Rubymine is close to be unusable.

Guys, you need to get to the bottom of this ASAP.  And by the way,
asking people to go to EAP 4.0 is not an aswer!

I have been a long time Idea and Rubymine user (since the very first
version) and this is the first time that I am extremely frustrated
with your efforts.  Please fix it.

BTW,  Idea works just fine for me (not sure if it helps).


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Dimitry,

do you need my CPU and memory snapshots? Because, as I said, I was not able to attach it to this thread (probably to large).
If they would help you to spot the problem I'd be happy to send the snapshots to you.

Or do you already know / guess how to fix these problems? ;-) If you need someone testing your latest development
snapshots, send me an email, if you can't replicate the behaviour on your side.

Cheers
Christian

0

Hello Christian,

We'll release a new EAP build in a few days with many performance fixes.
If you still experience problems with the new build, please submit snapshots
to http://youtrack.jetbrains.net/

do you need my CPU and memory snapshots? Because, as I said, I was not
able to attach it to this thread (probably to large).

If they would help you to spot the problem I'd be happy to send the
snapshots to you.

Or do you already know / guess how to fix these problems? ;) If you
need someone testing your latest development

snapshots, send me an email, if you can't replicate the behaviour on
your side.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

I've been using Rubymine for 2 and a half years now but I've noticed that it's just progressively gotten slower and slower, especially over this last year.
For the last 6 months I've been battleing with very similar lock ups and now it's at the point where Rubymine becomes completely unresponsive no matter how long I wait and then the only way to shut it down is to kill the actual process in the Windows task manager.

I even tried completely reformatting my OS just to get the IDE to run better which seemed to temporarily work but it didn't take long to get back to locking up again.

I've tried the 4EAP release and I'm still encountering the exact same problems as all of the 3 releases.

I can consistently cause rubymine to lock up now by just highlighting text in my editor and hitting ctrl-c to copy the line.

As soon as I do this, RM completely locks up and needs to be terminated.

I'm finding RM pretty much unusable at the minute, if it helps, I've noticed that it all seems to lock up for me, only when I have highlighted text in the editor.

As long as I don't highlight text, I seem to be able to use all menus, the debugger works, file trees work fine.. But then I highlight text in the editor and Kaboom.. Hope it helps guys, I don't really want to switch IDE's. Hoping you can come up with a fix.

WinXP 32-bit SP3 Build 2600
Ruby 1.8.6, 1.8.7, 1.9.2 all same results
Java 6 & 7 same results on both

0

Hello Lucas,

We've fixed one important perfomance glitch in first 4.0 EAP and I hope it will help in your case, however for better troubleshooting, we need your CPU snapshots captured.
Instructions can be found here: http://devnet.jetbrains.net/docs/DOC-1144

Regards,
Oleg

0

Thanks Oleg, looking forward to this next EAP then.. Sorry mate, because of this bug and some software bugs of my own that I'm also working on, I reformatted my laptop 2 days ago and bumped up to a Windows 7 OS. Haven't seen a complete lockup since I upgraded but if I see it happening again I'll send you guys a snapshot.

Not sure if anyone else has reported it either but I noticed in the 4.0 EAP that we no longer get prompted to say what type of syntax highlighting we'd like applied to a file if the file does not have a file extension.

As in.. say I have a ruby exectuble script with the filename: execute_backup
And the file does not have a file extension, in the previous version it used to popup an option to render the file as if it did have a file extension and then RM would apply the syntaxt highlighting to it.

I found that you can manually set it by going to Settings - File Types and adding the filename as an expected pattern, but just wondering if it had been removed on purpose.

Anyways, will try out this new EAP. Cheers guys, appreciate the effort

0

Hello Lucas,

Not sure if anyone else has reported it either but I noticed in the 4.0 EAP that we no longer get prompted to say what type of syntax highlighting we'd like applied to a file if the file does not have a file extension.

As in.. say I have a ruby exectuble script with the filename: execute_backup
And the file does not have a file extension, in the previous version it used to popup an option to render the file as if it did have a file extension and then RM would apply the syntaxt highlighting to it.

I found that you can manually set it by going to Settings - File Types and adding the filename as an expected pattern, but just wondering if it had been removed on purpose.

Well, most likely it is caused by the fact that you have different settings within RubyMine 3.2.4 and 4.0 eap.

Anyways, will try out this new EAP. Cheers guys, appreciate the effort

Looking forward to hearing from you.

Regards,
Oleg

0

Hello Lucas,

In fact RubyMine 4.0 now detects text files automatically and allows you
to edit them without needing to configure associations completely. We also
plan to look at the hashbang line to detect the language automatically, but
that's not implemented yet.

Thanks Oleg, looking forward to this next EAP then.. Sorry mate,
because of this bug and some software bugs of my own that I'm also
working on, I reformatted my laptop 2 days ago and bumped up to a
Windows 7 OS. Haven't seen a complete lockup since I upgraded but if I
see it happening again I'll send you guys a snapshot.

Not sure if anyone else has reported it either but I noticed in the
4.0 EAP that we no longer get prompted to say what type of syntax
highlighting we'd like applied to a file if the file does not have a
file extension.

As in.. say I have a ruby exectuble script with the filename:
execute_backup

And the file does not have a file extension, in the previous version
it used to popup an option to render the file as if it did have a file
extension and then RM would apply the syntaxt highlighting to it.

I found that you can manually set it by going to Settings - File Types
and adding the filename as an expected pattern, but just wondering if
it had been removed on purpose.

Anyways, will try out this new EAP. Cheers guys, appreciate the effort


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Unfortunately this issues does not seem to be solved completely. During the last few days I had several occasions where RubyMine took up all 4 of the CPUs ActivityMonitor reports for my MacBook Air (2011). Most of the time is taken by a system process (red), but also in the user department (green) RubyMine ist the top consumer. The system-usage takes a few seconds to go down even after I quit RubyMine, but it consistently disappears when I quit RubyMine. This also happens upon startup, however it will go away after maybe 30 seconds. After RubyMine has run for some time (maybe an hour, maybe several) the condition returns and sometimes it does not disappear anymore. After experiencing the problem yesterday with 4.0 I noticed there is now 4.5 and I downloaded it, just to experience it again today. I really like RubyMines feature set, plese fix this before I need to renew my licence.

0

Paul,
please capture and upload CPU snapshot as decribed here (CPU snapshot capturing instruction section)

0

Please sign in to leave a comment.