Ability to configure Intellij VM args #906
Labels
android-studio
Android Studio IDE from Jet-Brains
configuration
should be configurable or configuration change
enhancement
New feature or request
intellij
IntelliJ IDE from Jet-Brains
As a IDEasy and Intellij user, I want to be able to configure VM args so that my Intellij does not run out of memory for my large project codebase.
Currently I manually have to increase the max Java heap size in Intellij via
-Xmx
option:https://www.jetbrains.com/help/idea/tuning-the-ide.html#configure-jvm-options
So these VM args are stored in a OS specific
*.vmoptions
file inside the Intellij installation.Whenever intellij gets updated, the process needs to be repeated so this is currently rather tedious.
For a project with a large team where development requires tuning of this VM args by every developer an automated approach would be needed.
Implementation suggestion
Ideally we can find a way to pass additional VM args to intellij via CLI dynamically and like with
ECLIPSE_VMARGS
introduce aINTELLIJ_VMARGS
variable for that with ability to configure viaide.properties
with potential overriding in different locations.If really not possible, we would need to have a very specific custom logic in our
Intellij
commandlet that would tweak the*.vmoptions
file accordingly before launchingidea
. This approach would be much more complicated and would manipulate the installation what we typically want to avoid (best practice: keep installations pristine - see sandbox)The text was updated successfully, but these errors were encountered: