Protect max size virtual memory check from Windows
This commit is contained in:
parent
bbe0f3af3b
commit
3f73ef9aa4
|
@ -123,7 +123,9 @@ final class BootstrapCheck {
|
|||
if (Constants.LINUX) {
|
||||
checks.add(new MaxNumberOfThreadsCheck());
|
||||
}
|
||||
checks.add(new MaxSizeVirtualMemoryCheck());
|
||||
if (Constants.LINUX || Constants.MAC_OS_X) {
|
||||
checks.add(new MaxSizeVirtualMemoryCheck());
|
||||
}
|
||||
return Collections.unmodifiableList(checks);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue