well just as the title said, i was playing around with the game memory code from day 14, and suddenly the game didn't run, i spent quiet some time digging around and discovered that VirtualAlloc returned null (i used GetLastError function to get the error code).
the error code i had was "1451" which is "ERROR_NONPAGED_SYSTEM_RESOURCES" or "Insufficient system resources exist to complete the requested service" according to msdn
it turned out that the reason for this was because i manually set my max page size long ago because my partition was getting too crowded, so VirtualAlloc failed to reserve the required memory size and returned null.
i set the page size back to be automatically set and the everything worked fine, but i thought it might be nice to mention this ;)