It might not work on Windows if the allocated memory is more than 2G (it would not fit in a 32-bit Python int).