Problems on Ubuntu Jaunty

I am kind of new to running java apps so I am not sure exactly how to troubleshoot this. What happens is that the IDE opens and loads the project successfully, and the first couple of interactions with it work fine, but soon enough the UI starts to freeze and ultimately the java process ends up needing to be killed after hanging at 100% cpu usage. I can't point to one root cause for the freeze, but it seems to be particularly triggered by things like opening windows and switching focus. For what it's worth, system monitor shows the java process as sleeping at 24% CPU with a waiting channel value of futuex_wait. I chalk up the discrepancy between that and the 100% number I get from top to my general ignorance of the environment.

I attached the contents of .rubymine10\system\log. Let me know if there's anything else.

edit:

by the way, rubymine is fantastic so far. i started out with it on windows and was impressed that it was able to get a functional rails environment up and running so easily. unfortunately the main reason i've run into this issue is because there are just too many gems that you can't use on windows.



Attachment(s):
rubymine-logs.tar.gz
10 comments
Comment actions Permalink

Hello Shawn,

I am kind of new to running java apps so I am not sure exactly how to troubleshoot this. What happens is that the IDE opens and loads the project successfully, and the first couple of interactions with it work fine, but soon enough the UI starts to freeze and ultimately the java process ends up needing to be killed after hanging at 100% cpu usage. I can't point to one root cause for the freeze, but it seems to be particularly triggered by things like opening windows and switching focus. For what it's worth, system monitor shows the java process as sleeping at 24% CPU with a waiting channel value of futuex_wait. I chalk up the discrepancy between that and the 100% number I get from top to my general ignorance of the environment.


I attached the contents of .rubymine10\system\log. Let me know if there's anything else.


by the way, rubymine is fantastic so far. i started out with it on windows and was impressed that it was able to get a functional rails environment up and running so easily. unfortunately the main reason i've run into this issue is because there are just too many gems that you can't use on windows.

We have several questions to handle your problem properly.
Do you use 64bit Jaunty? What Java version do you use? I mean that RubyMine requires Sun Java JDK at least version 6 update 12.

If seems that your Java spend too much time in GC. Could you please increase Xmx value in file bin\rubymine.vmoptions in your RubyMine installation folder?
Hope this helps.

Regards,
Oleg

0
Comment actions Permalink

I would also add that while you need u12, u13 has been much better for
me about not freezing.

u13 is the default java that comes with Jaunty

I give RM 512, and bump up the maxGenPermSize to 128M


Oleg Shpynov wrote:

Hello Shawn,


I am kind of new to running java apps so I am not sure exactly how to troubleshoot this. What happens is that the IDE opens and loads the project successfully, and the first couple of interactions with it work fine, but soon enough the UI starts to freeze and ultimately the java process ends
up needing to be killed after hanging at 100% cpu usage. I can't point to one root cause for the freeze, but it seems to be particularly triggered by things like opening windows and switching focus. For what it's worth, system monitor shows the java process as sleeping at 24% CPU with a waiting chan
nel value of futuex_wait. I chalk up the discrepancy between that and the 100% number I get from top to my general ignorance of the environment.
I attached the contents of .rubymine10\system\log. Let me know if there's anything else.

by the way, rubymine is fantastic so far. i started out with it on windows and was impressed that it was able to get a functional rails environment up and running so easily. unfortunately the main reason i've run into this issue is because there are just too many gems that you can't use on windows.{
quote}
We have several questions to handle your problem properly.
Do you use 64bit Jaunty? What Java version do you use? I mean that RubyMine requires Sun Java JDK at least version 6 update 12.

If seems that your Java spend too much time in GC. Could you please increase Xmx value in file bin\*rubymine.vmoptions* in your RubyMine installation folder?
Hope this helps.

Regards,
Oleg

---
Original message URL: http://www.jetbrains.net/devnet/message/5237029#5237029

0
Comment actions Permalink

I'm running JVM 1.6.0.13, 64bit. I'll try those memory settings and let you know. I have a bunch of memory so it should help to use some of it.

0
Comment actions Permalink

Thanks for the tip. I have a feeling I might need it.

0
Comment actions Permalink

Hello guys,

Please note that default memory values were chosen for 32 bit Java, if you running 64bit one you have to increase them.

Regards,
Oleg

0
Comment actions Permalink

I have the same problem on Ubuntu 9.04 64b.
The difference is that I don't use rubymine - just pure idea 7.0.5.
I tried increasing the memory to 1024m:
-Xms1024m
-Xmx1024m

Still having the same problem.
Any idea?

0
Comment actions Permalink

Also, I tried different java versions, including 1.6u7.
The current version is 1.6u14

0
Comment actions Permalink

Hello Alik,

I have the same problem on Ubuntu 9.04 64b.
The difference is that I don't use rubymine - just pure idea 7.0.5.
I tried increasing the memory to 1024m:
-Xms1024m
-Xmx1024m


Still having the same problem.
Any idea?

At first glance I strongly recommend you to reduce Xms value.

Anyway, please refer to forum section concerned to IntelliJ IDEA at: http://www.jetbrains.net/devnet/community/idea.
I think you'll get more qualified assistance there, because problem reasons can differ in IDEA and RubyMine. Also please attach log files that can be found at ~/.IntelliJIdea70/system/logs.
They may contain some valuable infomation.

Best regards,
Oleg

0
Comment actions Permalink

I used a 32bit jdk version instead of a 64bit one and everything works perfectly (except viewing svn repositories - a whole different ball game)

0
Comment actions Permalink

Hello Alik,

I used a 32bit jdk version instead of a 64bit one and everything works perfectly (except viewing svn repositories - a whole different ball game)

Thanks for the workaround, this can be helpful to others

Regards,
Oleg

0

Please sign in to leave a comment.