Skip to content
Permalink
Browse files

Note about -XX:+UseSerialGC.

  • Loading branch information
trvrb committed Mar 6, 2015
1 parent 1775c02 commit 002f425f1e25b1f49bec307bb99b3f941e062ddd
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
@@ -24,17 +24,19 @@ The program can be compiled with:

Then to run:

java -Xmx1G Antigen
java -XX:+UseSerialGC -Xmx1G Antigen

A transportable jar file can be created with:

jar cfe antigen.jar Antigen *.class cern/ org/

Then to run from this jar:

java -jar antigen.jar -Xmx1G Antigen
java -jar antigen.jar -XX:+UseSerialGC -Xmx1G Antigen

This requires Java 1.7 to compile and run.
This requires Java 1.7 to compile and run. The `-Xmx1G` option is used to increase memory allocation.
This may need to be increased further with larger host population sizes. The `-XX:+UseSerialGC` option
swaps the default Java garbage collector to something that works much more efficiently for Antigen.

## Parameters

@@ -70,4 +72,4 @@ Memory can be easily profiled by calling `jmap -histo <PID>`.

-------------------------------------------

Copyright Trevor Bedford 2010-2014. Distributed under the GPL v3.
Copyright Trevor Bedford 2010-2014. Distributed under the GPL v3.

0 comments on commit 002f425

Please sign in to comment.
You can’t perform that action at this time.