A wise man gets more use from his enemies than a fool from his friends.
                                - Baltasar Gracian
 
Пошук
Пошук

 
 
Навігаційне меню
Навігаційне меню
 
 
Проекти
Проекти
 
 
 
 
Size_box_tl   Size_box_tr
 
Unfortunately, there is no translation for this page. We have redirected you to the english version of the site. We are sorry for any inconvenience caused...

Intellij IDEA Java VM options on Mac, Windows, Linux

 

By default IDEA seems to be given only max 256mb of memory. Now, to be honest that it quite low. So I had to configure the java VM options.

Naturally my first step was to google for it. There are numerous articles about configuring the vm option for Windows and Linux.

For the benefit of those readers who found my article first the answer for Windows and Linux users lies in the /bin/ directory of the Intellij IDEA installation.

 

There you should be able to find idea.vmoptions file. There you just need to set the parameters you need.

For example: -Xms128m -Xmx512m -XX:MaxPermSize=128m

 

 

 

 

 

 

 

 

Now, unfortunatelly Mac uses, such as myself will find that this method simply does not work. Nomatter what you specify in the file it just seem to be ignored, and infact that iswhat actually happens, since mac version of IDEA uses MAC plist files for all its settings. So what you need to do is find the IDEA app (mine is in the default application directory). There you need to locate the IDEA app file, right click it and select Show Contents from the menu. This will open the contents as a directory in finder. From there navigate to Contents directory, where you will see Info.plist file. Navigate to Java VM property and adjust it from there.

IDEA java VM options MAC

 

 

Ця сторінка була оновлена: 28/08/2010 16:16


© Inspire Software, Denys Pavlov, 2005-2012
© Inspire Software, Denys Pavlov, 2005-2012
 
Size_box_bl   Size_box_br