Git Show History taking super long time to load

Using latest RubyMine 4.5.4.  It seems about 50% of the time I do a Git: Show History on my top level project folder (for a rails app), RubyMine takes *forever* to come back with results -- I see the bottom spinner that says "1 process running..." which is loading the file history. This often takes > 5 min to show the history.  Other times it's almost instantaneous.  I've checked that my connection to github is fine.

Any idea what is going on??

0
14 comments
Avatar
Permanently deleted user

I do not think that Git:Show History needs connectons to github, since all necessary information is stored locally.
As for slowness: it could be cause iether by our code or by git itself. To detect git slowness you can try to use "git log" on the same file and see
how fast git is.  If it turns out that git is fast, but RM is slow please file a performance issue in our tracker (read http://devnet.jetbrains.net/docs/DOC-1144 for instructions how to do this)

Regards, Oleg.

0
Avatar
Permanently deleted user

git log  comes up instantly in all cases for me.

I will file a performance bug.

0
Avatar
Permanently deleted user

Any details on this? Sometimes it comes up fast for me (usually the 1st time I try it in a while), but subsequent attempts usually take 5+ minutes or longer to show the history.

0
Avatar
Permanently deleted user

Could you please provide id of the ticket you have filed, so I could check its status.

Regards, Oleg

0
Avatar
Permanently deleted user

http://youtrack.jetbrains.com/issue/RUBY-12144

Sorry - looks like you commented but I never saw the comment there. Will post the OS/CPU info for you today.

0
Avatar
Permanently deleted user

Hi Oleg - looking at the instructions on how to take a CPU dump (using Mac OSX 10.7.5, RubyMine 4.5).  I don't seem to have a RUBYMINE_HOME set, nor a rubymine.exe.vmoptions file in /Applications/RubyMine.app/bin  (or anywhere in /Applications/RubyMine.app/ ).

Should I just create the .vmoptions file?

0
Avatar
Permanently deleted user

Hi Dave,

out HOWTO (http://devnet.jetbrains.net/docs/DOC-1144) says about /Applications/RubyMine-X.X.app/Contents/Info.plist (it is /Applications/RubyMine.app/Contents/Info.plist in my case)
Could you please try to follow instruction from the document and let me know if you will have problems with this.
The document might be unclear/outdated in some places, but the only way to figure this out is to get feedback from the real user ;)

Regards, Oleg.

0
Avatar
Permanently deleted user

Hi Oleg,

Yes, but step 2 says:


Open RUBYMINE_HOME/bin/rubymine.exe.vmoptions (rubymine.vmoptions on Linux), add the following line at the bottom:

-agentlib:yjpagent



I don't have a file rubymine.exe.vmoptions in my /bin directory. I only have this:

/Applications/RubyMine.app/bin$ ls -a
./                    libbreakgen.jnilib    libquaqua64.jnilib    relaunch
../                   libbreakgen64.jnilib  libyjpagent.jnilib    rinspect.sh
fsnotifier            libquaqua.jnilib      log.xml

0
Avatar
Permanently deleted user

Hi Dave,

sorry, I had impression that you are using Mac and this is why I wrote about Info.plist.
Fo linux you should use rubymine.vmoptions (RUBYMINE_HOME/bin/rubymine.vmoptions),
where RUBYMINE_HOME is the directory where RM is installed.

Hope this helps, Oleg.

0
Avatar
Permanently deleted user

> Open RUBYMINE_HOME/bin/rubymine.exe.vmoptions (rubymine.vmoptions on Linux)
I have just re-read the line from the doc and found that rubymine.vmoption should be used on Linux (I've underlined this part).
So, the question to you do you have any suggestions how to change the doc to make it more visible to avoid such misreading
in future?

Regards, Oleg.

0
Avatar
Permanently deleted user

Hi Oleg,

I *am* using Mac :)

Here is the problem:

Step 2 says: Open RUBYMINE_HOME/bin/rubymine.exe.vmoptions

Ok - so on my Mac, I go to /Applications/RubyMine.app/bin

Now, I look for the file rubymine.exe.vmoptions

Problem:  I do not have this file!

0
Avatar
Permanently deleted user

Hi Dave,

the doc says (righ after information about rubymine.exe.vmoptions):

"On Mac OS X open Info.plist located in /Applications/RubyMine-X.X.app/Contents, find the following: ..."

Have you see this? (rubymine.exe.vmoption is for Windows only you need do nothing with in on Mac)

Oleg.

0
Avatar
Permanently deleted user

Hi Oleg,

Ok I have done a CPU history and added repro steps to the YouTrak ticket!

Thanks!

0
Avatar
Permanently deleted user

Thanks

0

Please sign in to leave a comment.