-Xmx256 really doesn't cut it

And I have to keep remembering to update the damned info.plist (OS X) everytime I install a new version. Didn't 8.1 say "Hey, you've got -Xmx256 but 8gb of ram, you wanna make it bigger?"

8 comments
Comment actions Permalink

+1
it'd be so nice to have a way to set the options once for all

On 2009-10-27 09:51:45 +0900, James Briant <jab.jetbrains@species.org> said:

And I have to keep remembering to update the damned info.plist (OS X)
everytime I install a new version. Didn't 8.1 say "Hey, you've got
-Xmx256 but 8gb of ram, you wanna make it bigger?"

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



0
Comment actions Permalink

+1

Even if it were like "Your configuration says you want to use X MB of memory but current application setting is only Y MB. Do you want to change the value and restart IDEA"

0
Comment actions Permalink

indeed, IDEA does this when it runs into OOME

0
Comment actions Permalink

That doesn't really work that well for me. For example, with Analyze Backward Dependencies, I get the following pattern of memory usage:

512 MB 508MB 512 MB 508 MB 512 MB 508 MB . . .

IDEA never runs out of memory but takes forever.

It would be really great if the memory configuration would survive updates.

0
Comment actions Permalink

On my 8GB ram os x 10.6 box, using 90.116, when -Xmx is 256, it doesnt ask me if I want to rerun with more memory. It just fills up to 256mb. If I then open my settings window, or project structure window, it goes silent. Kill process required.

If I set -Xmx to 1024, everything works fine.

0
Comment actions Permalink

Dave Griffith created VMOptions plugin which does what you're asking for with a little caveat.

"Allows editing of IDEA VM options, and will save changes to an VM options thorugh a reinstall"

The only catch with it is you have to run IDEA one time for the VMOptions pluging can run and update the idea.vmoptions file. Then, the next time you run IDEA, it will be with the new parameters.
I had been using this on Windows for a long time, but after I switched to Ubuntu Linux, and hadn't bothered to install it again yet.

Of course it would be better if IDEA just did all of these automatically. Here's the YouTrack issue if you want to vote for it!

Set the maximum and minimum memory for IDEA dynamically during installation
http://youtrack.jetbrains.net/issue/IDEADEV-2356


Related Issues

[import settings]idea​.​exe​.​vmoptions
http://youtrack.jetbrains.net/issue/IDEADEV-27873    

Search alghorithm for idea​.​exe​.​vmoptions
http://youtrack.jetbrains.net/issue/IDEABKL-2887


-Alex

0
Comment actions Permalink

I remember the IDEA_PROPERTIES variable that was very handy under Windows.
You could point Idea to your own IDEA home, and possibly put your
idea.vmoptions there.

I don't know if that still exist, but it would be ideal on OSX too and
easier to implement than autodetecting the memory settings I guess.


On 2009-10-27 09:51:45 +0900, James Briant <jab.jetbrains@species.org> said:

And I have to keep remembering to update the damned info.plist (OS X)
everytime I install a new version. Didn't 8.1 say "Hey, you've got
-Xmx256 but 8gb of ram, you wanna make it bigger?"

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



0
Comment actions Permalink

In the cold weather, the UGG boots are considered as the best shoes.More and more people like wearing the UGG boots such as the UGG Classic Metallic 5812]]>.With its development ,the UGG boots have lauched different kinds of boots into the fashion market,including the UGG Classic Short Boots]]> and the UGG Women's Highkoo]]>.However,in the fashion world,if you want to be more attractive and elegant,the beautiful shoes are not enough.You have to choose the best stylish handbag to match your shoes.Therefor,the designer replica handbags are very necessary.If you want to buy the best designer cheap handbags,i would like to introduce two famous brand handbags to you.I think there must be one handbag is your favorite.One is the famous brand Versace Handbags ,the other is the Ferragamo Handbags.Both of them are the famous brand in the world.Their quality are very good.

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

0

Please sign in to leave a comment.