'The intellij idea takes up a lot of Ram [closed]
The intellij idea takes up a lot of RAM, is there a way we can reduce the program size?
Solution 1:[1]
go to C:\Users{yourName}\AppData\Roaming\JetBrains\IntelliJIdea2022.1 (your version)
edit idea64.exe.vmoptions
-Xmx2015m -> -Xmx1024m (maximum memory)
Solution 2:[2]
You can change the heap of memory the compiler in the "Build, Execution, Deployment" tab in the preferences.
Preferences > Build, Execution, Deployment > Compiler | User local process heap size (...)
But you can search in preferences for "Mbyte" and see whatelse you can configure.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | dangerousmanleesanghyeon |
Solution 2 | Levi Heßmann |