This PR resolves a todo within the Win32LockedPageAllocator: // TODO is there a limit on Windows, how to get it?
.
The idea is to use the Windows API to get the limits like the posix based allocator does with getrlimit
.
I use GetProcessWorkingSetSize to perform this task and fallback to return std::numeric_limits<size_t>::max();
just like the posix implementation does.