I want to allocate around 1GB of heap size, but I can\'t seem to figure it out.
How to do this?
For developers who use Ubuntu, following will help to increase heap size in InteliJ Idea. Following versions are used by myself at the moment.
Ubuntu 16.04 LTS (64 bit)
InteliJ IDEA 2016.3.4
Go to the location where the IDE is installed and find the following file. (In my case it as follows)
/home/abcde/Softwares/idea-IU-163.12024.16/bin
Then select the idea64.vmoptions file and edit it.
Remove default configuration and paste the below mentioned.
-Xms512m
-Xmx2024m
-XX:MaxPermSize=700m
-XX:ReservedCodeCacheSize=480m
Now restart the IDE and changes should reflect the IDE environment.
Worked for me to overcome Java heap size related issues.