Page 1 of 1

Preserve the stored state on "Out of memory"

Posted: 23. Jul 2013, 17:16
by Andreas Killer
I run VirtualBox on a WinXP machine with low memory (1,5Gb total). Works pretty good normally.

But sometimes, when I have to much windows open in the host system, and I start a saved session of a VM, I get a "Out of memory" message.

That is correct, in this situation there is not enough memory.

But once that happens, I lose the stored state of the session and must reboot the VM from scratch.

Is there any way to prevent that VirtualBox deletes the saved state automatically?

Andreas.

Re: Preserve the stored state on "Out of memory"

Posted: 24. Jul 2013, 01:56
by BillG
I am surprised that you don't lose more than that! Out of memory is a critical stop condition in a Windows OS and anything can happen.

Re: Preserve the stored state on "Out of memory"

Posted: 24. Jul 2013, 15:17
by Andreas Killer
Then I can ask also a different question.

If VirtualBox stores a session of a VM, isn't it known how much memory is used?
So why can't VirtualBox check the avaible memory first, maybe show a message and allows to abort the process before it runs into trouble?

Re: Preserve the stored state on "Out of memory"

Posted: 24. Jul 2013, 15:36
by mpack
I don't understand your problem. If VirtualBox gives a low memory error when you launch a VM, i.e. due to having too much other stuff running on the host, then there's no need to preserve the running state of the error VM, because it isn't running yet. "Aborting the process before it runs into trouble" is exactly what it has done.

Re: Preserve the stored state on "Out of memory"

Posted: 24. Jul 2013, 19:37
by stefan.becker
Buy more RAM. This Thread is senseless.

Today i think 4 GB RAM on Host is an absolute Minimum to use a modern host and guest OS.