Do you have a page file enabled? If you do not, it can cause these dialogs to pop up even when the PC is not using that much RAM.
You can see it in PC Properties -> Advanced system settings -> Advanced -> Performance settings -> Advanced -> Virtual memory
It should be set to system managed.