remove hard-coded non-standard jvm options

This commit is contained in:
Eugene Zhuravlev
2012-10-16 11:47:27 +02:00
parent 5d244f4688
commit 5d19c56af2
2 changed files with 3 additions and 3 deletions
@@ -720,8 +720,8 @@ public class BuildManager implements ApplicationComponent{
final GeneralCommandLine cmdLine = new GeneralCommandLine();
final String vmExecutablePath = ((JavaSdkType)projectJdk.getSdkType()).getVMExecutablePath(projectJdk);
cmdLine.setExePath(vmExecutablePath);
cmdLine.addParameter("-XX:MaxPermSize=150m");
cmdLine.addParameter("-XX:ReservedCodeCacheSize=64m");
//cmdLine.addParameter("-XX:MaxPermSize=150m");
//cmdLine.addParameter("-XX:ReservedCodeCacheSize=64m");
final int heapSize = config.COMPILER_PROCESS_HEAP_SIZE;
final int xms = heapSize / 2;
if (xms > 32) {