mirror of https://github.com/FreeCol/freecol.git
Run with a decent amount of memory
This avoids an annoying freeze when loading a large, advanced savegame.
This commit is contained in:
parent
ddbafff2fe
commit
3cd8b8acbd
|
@ -881,7 +881,7 @@
|
|||
<!-- This is a shortcut for NetBeans, and possibly other IDEs. -->
|
||||
<target name="run" depends="package" description="Runs the game">
|
||||
<java jar="FreeCol.jar" fork="true">
|
||||
<jvmarg value="-Xmx256M" />
|
||||
<jvmarg value="-Xmx512M" />
|
||||
</java>
|
||||
</target>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<target depends="package" description="Runs the game" name="debug-nb">
|
||||
<nbjpdastart addressproperty="jpda.address" name="FreeCol" transport="dt_socket"/>
|
||||
<java fork="true" jar="FreeCol.jar">
|
||||
<jvmarg value="-Xmx256M"/>
|
||||
<jvmarg value="-Xmx512M"/>
|
||||
<jvmarg value="-Xdebug"/>
|
||||
<jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
|
||||
</java>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<!-- (more info: http://netbeans.org/kb/articles/freeform-config.html#profilej2se) -->
|
||||
<target depends="-profile-check" description="Runs the game" if="profiler.configured" name="profile-nb">
|
||||
<java fork="true" jar="FreeCol.jar">
|
||||
<jvmarg value="-Xmx256M"/>
|
||||
<jvmarg value="-Xmx512M"/>
|
||||
<jvmarg line="${agent.jvmargs}"/>
|
||||
</java>
|
||||
</target>
|
||||
|
|
Loading…
Reference in New Issue