Fix: Add detection for 32 bit java on -Xms
Before it was only checking -Xmx, this also checks -Xms Signed-off-by: Rahul Imran <notlutitious@gmail.com>
This commit is contained in:
parent
bc93d74e1d
commit
fbd41fcf35
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ fn java_32_bit(log: &str) -> Issue {
|
||||||
|
|
||||||
let found = log.contains("Could not reserve enough space for ")
|
let found = log.contains("Could not reserve enough space for ")
|
||||||
|| log.contains("Invalid maximum heap size: ");
|
|| log.contains("Invalid maximum heap size: ");
|
||||||
|
|| log.contains("Invalid initial heap size: ");
|
||||||
found.then_some(issue)
|
found.then_some(issue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue