Windows: give a better error message when running out of memory
authorSimon Marlow <simonmar@microsoft.com>
Thu, 30 Aug 2007 13:51:46 +0000 (13:51 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 30 Aug 2007 13:51:46 +0000 (13:51 +0000)
commit51a1bbab96f8795701fc59d295a5f556cfbf5622
treef79a9d1bdf38a3f3ff46e90c766d5356e8e92245
parentf64384c40b3db4fddb8fad5463da39464e52ab13
Windows: give a better error message when running out of memory
I think this fixes #1209

Previously:

outofmem.exe: getMBlocks: VirtualAlloc MEM_RESERVE 1025 blocks failed: Not enoug
h storage is available to process this command.

Now:

outofmem.exe: out of memory
rts/sm/MBlock.c