[Pit] step on setting JVM arguments IDEA

1. The visual interface is provided

Run->Edit Configuration...

Then set

2. profile settings

Open IDEA installation directory, see a bin directory, where there are two vmoptions file , need to be configured for different JDK:

32 位:idea.exe.vmoptions
64 位:idea64.exe.vmoptions


-Xms512m  
    -Xmx1024m  
    -XX:MaxPermSize=512m  
    -XX:ReservedCodeCacheSize=225m  
    -XX:+UseConcMarkSweepGC  
    -XX:SoftRefLRUPolicyMSPerMB=50  
    -ea  
    -Dsun.io.useCanonCaches=false  
    -Djava.net.preferIPv4Stack=true

Guess you like

Origin www.cnblogs.com/Roni-i/p/11569376.html