Menu

#34 -Xmx without -Xms implicitly sets -Xms

2.0
open
nobody
2020-03-05
2020-03-05
Dave Roe
No

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?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB