Protect max size virtual memory check from Windows

This commit is contained in:
Jason Tedor 2016-03-23 12:35:01 -04:00
parent bbe0f3af3b
commit 3f73ef9aa4
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}