I'm glad this worked for you
I've been working with computers for a long time and have a rather intimate knowledge of all Windows OS versions. If this fixed the issue for you, there's an underlying issue with your OS that you should look into. Newer Windows versions (Vista and onward) should properly set page file sizes.
I would be interested for you to try something - disable the page file on all HDs, restart computer, re-enable it (automatic size allocation by the OS) and restart. Now try if you get the same issue as before.