Commit 002f425 1 parent 1775c02 commit 002f425 Copy full SHA for 002f425
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,19 @@ The program can be compiled with:
24
24
25
25
Then to run:
26
26
27
- java -Xmx1G Antigen
27
+ java -XX:+UseSerialGC - Xmx1G Antigen
28
28
29
29
A transportable jar file can be created with:
30
30
31
31
jar cfe antigen.jar Antigen *.class cern/ org/
32
32
33
33
Then to run from this jar:
34
34
35
- java -jar antigen.jar -Xmx1G Antigen
35
+ java -jar antigen.jar -XX:+UseSerialGC - Xmx1G Antigen
36
36
37
- This requires Java 1.7 to compile and run.
37
+ This requires Java 1.7 to compile and run. The ` -Xmx1G ` option is used to increase memory allocation.
38
+ This may need to be increased further with larger host population sizes. The ` -XX:+UseSerialGC ` option
39
+ swaps the default Java garbage collector to something that works much more efficiently for Antigen.
38
40
39
41
## Parameters
40
42
@@ -70,4 +72,4 @@ Memory can be easily profiled by calling `jmap -histo <PID>`.
70
72
71
73
-------------------------------------------
72
74
73
- Copyright Trevor Bedford 2010-2014. Distributed under the GPL v3.
75
+ Copyright Trevor Bedford 2010-2014. Distributed under the GPL v3.
You can’t perform that action at this time.
0 commit comments