Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure Intellij VM args #906

Open
hohwille opened this issue Jan 7, 2025 · 0 comments
Open

Ability to configure Intellij VM args #906

hohwille opened this issue Jan 7, 2025 · 0 comments
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

Comments

@hohwille
Copy link
Member

hohwille commented Jan 7, 2025

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 a INTELLIJ_VMARGS variable for that with ability to configure via ide.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 launching idea. 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)

@hohwille hohwille added enhancement New feature or request android-studio Android Studio IDE from Jet-Brains configuration should be configurable or configuration change intellij IntelliJ IDE from Jet-Brains labels Jan 7, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant