Set decompiler's heap size to 3 GiB

The default on my laptop (with 8 GiB of RAM, so presumably a 2 GiB heap)
is too small.
bzip2
Graham 5 years ago
parent 752941f9f3
commit 5c5a908a37
  1. 2
      .idea/runConfigurations/Decompiler.xml
  2. 1
      decompiler/build.gradle.kts

@ -1,7 +1,7 @@
<component name="ProjectRunConfigurationManager"> <component name="ProjectRunConfigurationManager">
<configuration default="false" name="Decompiler" type="JetRunConfigurationType" factoryName="Kotlin"> <configuration default="false" name="Decompiler" type="JetRunConfigurationType" factoryName="Kotlin">
<module name="openrs2.decompiler.main" /> <module name="openrs2.decompiler.main" />
<option name="VM_PARAMETERS" value="" /> <option name="VM_PARAMETERS" value="-Xmx3G" />
<option name="PROGRAM_PARAMETERS" value="" /> <option name="PROGRAM_PARAMETERS" value="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" /> <option name="ALTERNATIVE_JRE_PATH" />

@ -6,6 +6,7 @@ plugins {
application { application {
mainClassName = "dev.openrs2.decompiler.DecompilerKt" mainClassName = "dev.openrs2.decompiler.DecompilerKt"
applicationDefaultJvmArgs = listOf("-Xmx3G")
} }
dependencies { dependencies {

Loading…
Cancel
Save