History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-2356
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Markus Halttunen
Votes: 3
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Set the maximum and minimum memory for IDEA dynamically during installation

Created: 25 Aug 05 12:30   Updated: 06 Nov 08 23:35
Component/s: IDE Configuration, Packaging and Installation
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-17633 Allow setting of JVM memory options i... Resolved
IDEA-20002 On the custom installation of IDEA, a... Resolved
IDEABKL-495 Provide option to change -Xmx and -Xm... Minor Resolved

Build: 3,461
Severity: Medium


 Description  « Hide
I think the default values for JVM memory (-Xms and -Xmx) are not the best ones for most systems. However, it is quite tedious to update them manually and they are lost when IDEA is updated. (At least on OS X).

I'm suggesting that you would define those values as part of the installation process. The installer could check how much memory is available and set those values based on that data. Alternatively the installer could simply ask the user how much memory he wants IDEA to use with an explanation on what effects the different values would have.

This way most of the users would have more realistic amount of memory defined for IDEA without having to change the settings manually.



 All   Comments   Work Log   Change History      Sort Order:
Maxim Shafirov - 01 Sep 05 21:04
I'd say this should better be editable from IDEA's itself UI (requesting restart for the changes to take effect of course).

Markus Halttunen - 02 Sep 05 10:48
Agreed. That would be even better.

Markus Halttunen - 13 Dec 07 17:18
Maxim, like I said two years ago, your suggestion is even better. But perhaps it is a bit too ambitious? How about at least defining the memory settings somewhere in the user's home directory so that they don't have to always reset them to more realistic values after updating to a new IDEA version?

AlexL - 04 Apr 08 13:45
I've been using VMOptions plugin for a long time which preserves IDEA JVM settings. However, upon upgrading, the new settings will only take effect the 2nd time you run IDEA, because you have to run IDEA once so the VMOptions plugin can write the file.

It would be great if this was builtin to IDEA, allowing us to edit it in the UI. Jetbrains should be able to preserve the setttings during upgrade.