adjusted memory allocations on windows