Skip to content

Commit

Permalink
fix: now using correct jvm arg -Xms instead of -Xmn
Browse files Browse the repository at this point in the history
  • Loading branch information
quintesse committed Jul 16, 2024
1 parent 99dd3b3 commit 4961c65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void generateReport(Filtering masking) {

// Check for -Xmn and -Xmx options on the command line
for (String arg : inputArguments) {
if (arg.startsWith("-Xmn")) {
if (arg.startsWith("-Xms")) {
heapMin = getMemorySize(arg.substring(4)).orElse(heapMin);
} else if (arg.startsWith("-Xmx")) {
heapMax = getMemorySize(arg.substring(4)).orElse(heapMax);
Expand Down

0 comments on commit 4961c65

Please sign in to comment.