-Xmx without -Xms implicitly sets -Xms
BBMap short read aligner, and other bioinformatic tools.
Brought to you by:
brian-jgi
Explicitly setting the max memory also implicitly sets the initial memory. When I run
bbduk.sh in=bogus out=bogus ref=bogus -Xmx1g
The output shows that -ms (the initial memory allocation) is also set.
java -ea -Xmx1g -Xms1g -cp ...
There is a workaround by explicitly setting -Xms, but I assume this implicit setting is not intended?