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.
Preserve the stored state on "Out of memory"
-
Andreas Killer
- Posts: 10
- Joined: 23. Jul 2013, 17:06
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Preserve the stored state on "Out of memory"
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.
Bill
-
Andreas Killer
- Posts: 10
- Joined: 23. Jul 2013, 17:06
Re: Preserve the stored state on "Out of memory"
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?
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?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Preserve the stored state on "Out of memory"
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.
-
stefan.becker
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: Preserve the stored state on "Out of memory"
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.
Today i think 4 GB RAM on Host is an absolute Minimum to use a modern host and guest OS.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669