Fix: Add detection for 32 bit java on -Xms (#425)
* 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> * remove extra ; Signed-off-by: Rahul Imran <notlutitious@gmail.com> --------- Signed-off-by: Rahul Imran <notlutitious@gmail.com>
This commit is contained in:
parent
ab708f6af5
commit
8af45cd6dd
1 changed files with 2 additions and 1 deletions
|
@ -370,7 +370,8 @@ 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