RubyMine constantly crashing on iMac

I have a brand new iMac 27" with Lion and very little else besides my development tools. RubyMine is constantly crashing with the 'spinning beach ball of death'; sometimes on start-up when indexing files, sometimes when opening a file and sometimes just when I go back to RM after working in the browser for a bit. There is very little CPU usage and no visible activity but the application is marked by OSX as not responding and even waiting for 30 mins doesn't allow it work things out.

I know this isn't a very helpful bug report but I need to know what I can do to help you figure out what is happening to cause this lock-up. So far its happening ~20 times in the last two days which means I'm having to resort to other tools for development. I've used RM successfully on a number of other OSX Lion machines (a Mac Pro and a Mac Book Pro) so it is clearly something specific to this machine or istallation.

7 comments
Comment actions Permalink

Further to this, I simply can't start RubyMine now. Every time I try it freezes on the indexing.

0
Comment actions Permalink

Okay, figured out the root cause but not how to fix. The project contains ~30 of CSV files each of about 700 lines. Remove them from the project and RM works fine. Add them in and it freezes.

This is a right pain. I've upped the max memory to 1Gb and that meant it worked okay for an hour to two but adding in a few more files pushed it over the limit. Of course we can move our files out of the project but then we have to treat with them separately for version control, etc. - not really very good as they are effectively resource files for our project.

Is there any way to get RM to ignore these from its indexing (which I assume is the problem, we're not actually opening the files they are just in a directory under the project dir)? Any other work around?

0
Comment actions Permalink

You probably want more memory than that.  I let Rubymine eat as much mem as it wants.  Runs faster that way.

0
Comment actions Permalink

More than 1GB? Really? Christ, I thought Eclipse was bad. Probably just revert to command line and TextPad then.

0
Comment actions Permalink

I haven't set a max memory load and my projects are pretty big and varied.  one of them has lots of models and on of the others has a ton of extjs javascript files to index.  Looking at my stats, my Rubymine instance doesn't really take more than 600 megs.  

That's the biggest complaint I've heard about Rubymine so far is that it takes up alot of memory.  But that's also why it can have some of the features it has and why it can perform fast.  So the amount of memory it takes up is not an issue for me.

How much RAM does your iMac system have?

0
Comment actions Permalink

4GB.

In my day-to-day work I need to run two parallels instances as well as a couple of browsers and various misc apps. To date 4GB has been more than sufficient for doing this as well as running Eclipse (we're transitioning from Java to Ruby). I can appreciate RM trades memory for speed as most applications do, but most apps I've used don't require > 1GB to function in the most modest of circumstances - the project giving me problems has ~40 files total of which ~30 are CSV files of ~1000 lines each (about 200Kb per file) and the rest are plain ruby scripts of ~50 lines - and most are able to degrade their performance when squeezed for memory rather than just freezing at start-up.

I could just add 4GB more RAM but how much head-room would it give me? Would I be able to get up to a whopping 60 files totalling nearly 12 whole Mb in size?

Sorry for the sarcasm but I don't see how this can be a lack of memory issue. Yes, if I had hundreds of files that were cross-indexed in complex ways I could see that 1Gb might be justified (although I still think the issue should be degraded performance rather than a total lock-out). But I don't, I have a small number of files that have no cross-referencing between them. This seems to be a bug to me (if it is indexing causing the problem, why are CSV files being indexed at all?) and a missing feature: it should be possible to exclude files/directories/file types from indexing, especially if that indexing causes complete failure of the application.

0
Comment actions Permalink

I mean it doesn't sound like a memory issue to me, I was just saying that I wouldn't set a maximum.  

One thing you can do is maybe put all the CSV files into a folder, right click the folder and Mark Directory As Excluded and RubyMine will ignore them.  

0

Please sign in to leave a comment.