mirror of https://github.com/FreeCol/freecol.git
We have several reports of significant speedups from increasing the Java memory size. Move up to 512M.
This commit is contained in:
parent
204e6b31dd
commit
d9a1739add
|
@ -202,7 +202,8 @@ Linux, using Java 6 is recommended, as its font rendering is much
|
|||
better. If you are using FreeCol on a different platform, we would
|
||||
like to hear about it.
|
||||
|
||||
FreeCol requires at least 256 MB memory and works best with a screen
|
||||
FreeCol requires at least 256 MB memory, although some systems slow
|
||||
down badly and require 512MB. FreeCol works best with a screen
|
||||
resolution of at least 1024x768 pixels. It should also be possible to
|
||||
play the game with a screen resolution of 1024x600 pixels, although
|
||||
some panels will look a bit cramped. You can play the game with an
|
||||
|
@ -236,7 +237,7 @@ In order to compile FreeCol you will need Java and
|
|||
\href{http://ant.apache.org/}{the Ant build system}. When these are
|
||||
installed, go to the root directory of FreeCol and type \verb$ant$ to
|
||||
build a JAR file containing the game. The game is started using the
|
||||
command \verb$java -Xmx256M -jar FreeCol.jar$.
|
||||
command \verb$java -Xmx512M -jar FreeCol.jar$.
|
||||
|
||||
If something goes wrong, please open a bug report at the
|
||||
\href{http://sourceforge.net/projects/freecol}{SourceForge page of
|
||||
|
@ -264,9 +265,9 @@ paragraphs.
|
|||
\hypertarget{Command line options}{\subsection{Command line options}}
|
||||
|
||||
If you are in the directory in which FreeCol is installed, you can
|
||||
start the game with the command \verb$java -Xmx256M -jar FreeCol.jar$.
|
||||
start the game with the command \verb$java -Xmx512M -jar FreeCol.jar$.
|
||||
This will tell the Virtual Machine to load the game and to set the
|
||||
maximum heap size to 256 MB. Refer to the manual of your Java Virtual
|
||||
maximum heap size to 512 MB. Refer to the manual of your Java Virtual
|
||||
Machine for details.
|
||||
|
||||
There are many other Java options, but you probably won't need to
|
||||
|
|
|
@ -51,10 +51,10 @@ the directory where you executed the 'ant' command (in case you
|
|||
downloaded the source package).
|
||||
Make sure the file named 'FreeCol.jar' is in your current directory.
|
||||
|
||||
Execute the command 'java -Xmx256M -jar FreeCol.jar'
|
||||
Execute the command 'java -Xmx512M -jar FreeCol.jar'
|
||||
|
||||
Windows users may need to execute
|
||||
'java -Xmx256M -cp . -jar FreeCol.jar'
|
||||
'java -Xmx512M -cp . -jar FreeCol.jar'
|
||||
|
||||
In case the command could not be found, check your Java installation
|
||||
and make sure that the java (*nix) or java.exe (Windows) file is in
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
java -Xmx256M -jar FreeCol.jar $1 $2 $3 $4 $5 $6 $7 $8 $9
|
||||
java -Xmx512M -jar FreeCol.jar $1 $2 $3 $4 $5 $6 $7 $8 $9
|
||||
|
|
Loading…
Reference in New Issue