Skip to content

Commit

Permalink
Add IntelliJ run config for 8 GB max memory, suitable for running the…
Browse files Browse the repository at this point in the history
… game on EXTREME view distance (at least if you have the system to handle it - took half an hour sitting still to only have *most* the chunks visible).
  • Loading branch information
Cervator committed Jun 3, 2016
1 parent 8fa0d0a commit 2521d7e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions config/gradle/ide.gradle
Expand Up @@ -179,6 +179,37 @@ ext {
</configuration>
'''))

runManager.append(new XmlParser().parseText('''
<configuration default="false" name="TerasologyPC (EXTREME 8GB)" type="Application" factoryName="Application">
<extension name="coverage" enabled="false" merge="false" runner="idea">
<pattern>
<option name="PATTERN" value="org.terasology.engine.*"/>
<option name="ENABLED" value="true"/>
</pattern>
</extension>
<option name="MAIN_CLASS_NAME" value="org.terasology.engine.Terasology"/>
<option name="VM_PARAMETERS" value="-Xms256m -Xmx8192m"/>
<option name="PROGRAM_PARAMETERS" value="-homedir -noCrashReport"/>
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$"/>
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false"/>
<option name="ALTERNATIVE_JRE_PATH" value=""/>
<option name="ENABLE_SWING_INSPECTOR" value="false"/>
<option name="ENV_VARIABLES"/>
<option name="PASS_PARENT_ENVS" value="true"/>
<module name="PC"/>
<envs/>
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value=""/>
<option name="TRANSPORT" value="0"/>
<option name="LOCAL" value="true"/>
</RunnerSettings>
<RunnerSettings RunnerId="Run"/>
<ConfigurationWrapper RunnerId="Debug"/>
<ConfigurationWrapper RunnerId="Run"/>
<method/>
</configuration>
'''))

// Run config for a second client in its own data dir (for easy multiplayer testing)
runManager.append(new XmlParser().parseText('''
<configuration default="false" name="TerasologyPC (2nd client)" type="Application" factoryName="Application">
Expand Down

0 comments on commit 2521d7e

Please sign in to comment.