IntelliJ IDEA 13.1 - how to prevent low memory problems in a 32-bit OS (Win 7) with 3 GB of RAM

I have some memory issues, but using IntelliJ IDEA 13.1 (currently 13.1.6) due to insufficient RAM . I work on a rather large project and often run some maven builds, as well as a web application in debug mode. I have a 32-bit OS (Windows 7), 3 GB of RAM and an SSD . I am using JDK 7 .

Maven constructs that run inside IntelliJ IDEA often arise due to insufficient memory, and I have to resume them from the moment of failure.

The warning " Low computer on computer ) is often displayed by Windows when I am building Maven or trying to run a web application using IntelliJ IDEA.

I use the following parameters in the idea.exe.vmoptions "configuration file (located in the same directory as the" idea.exe "file):

-server -Xms128m -Xmx700m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 

The following value is specified in the MAVEN_OPTS environment variable:

 -Xmx1024m -Dfile.encoding=UTF8 

I have already disabled unused plugins and found out that it is useful to restart IDEA after operations that require memory , for example, for example. after assembling Maven. I also found out that it closes as many other applications as possible , but not always.

However, all of the above tricks did not fix the problem .

What are your recommendations besides expanding RAM or switching to a 64-bit OS?

Do you know the best settings for the file "idea.exe.vmoptions" ?

0
java intellij-idea memory maven jvm
Jan 19 '15 at 13:57
source share

No one has answered this question yet.

See similar questions:

90
Acceleration IntelliJ-Idea

or similar:

391
How to see JavaDoc in IntelliJ IDEA?
232
How to increase IDE memory limit in IntelliJ IDEA on Mac?
198
How to search in all project files in IntelliJ Idea?
6
Maven: OutOfMemoryError - empty space
four
IntelliJ IDEA 15 Scene Builder does not show all controls
2
How to change the default @author name in IntelliJ-IDEA without side effects?
2
Cannot debug intellij plugin - invalid initial heap size
0
How to increase cordApp heap size in intelliJ IDEA
0
Is the CMS-concurrent-preclean abort causing multiple CMS-parallel deployments?
0
Hadoop 2.4 maven build OutOfMemoryError: Java heap space



All Articles