I have used vbox for a long time , but recently I found a problem
I created a virutal machine with windows xp installed, and I allocated 2GB memory.
My host system is Windows 7 x64 Ultimate, Vbox version is 4.3.20
When I had not powerd it on , below was my memry usage.
When I powered it on, below was the memory usage
The virtual machine used 2GB memory nomally.
But After 2 hours, things was completly changed,my host memory used up to about 7GB!
Vbox memory usage is much more than allocated
Vbox memory usage is much more than allocated
Last edited by J-H-J on 7. Jan 2015, 07:02, edited 1 time in total.
Re: Vbox memory usage is much more than allocated
Here is the memory usage after 2 hours
Then I powered off the vm, the memory usage dropped to nomal.
How can I solve this problem, thks.
How can I solve this problem, thks.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Vbox memory usage is much more than allocated
Do you use shared folder and/or network shares to access files on the host? If yes, then it is not your VM that's using the memory, it's your host OS that is caching recently used files.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
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: Vbox memory usage is much more than allocated
Oh no, not again...
Re: Vbox memory usage is much more than allocated
Thks for your replysocratis wrote:Do you use shared folder and/or network shares to access files on the host? If yes, then it is not your VM that's using the memory, it's your host OS that is caching recently used files.
This xp VM I created was for downloading video files, and it had a large amout of disk I/O(more than 10GB/hour).
I used share folders before to store files to a folder of my host system, but I found that it did not always work as expected, I often lost file access.
So I tried to use a VHD file directly attached to my guest system, and put my files to that VHD file.
Then I found my host system ran very slow after 2 or 3 hours, so I found that problem.
I know that my host system will cache files recently used, but these cached files will show as "cached" in my task mamager, and will not caculated as my used memory
You can see my last picture, it shows cached memory 3892, but my used memory is only 2.06GB.
-
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: Vbox memory usage is much more than allocated
Seriously, I think we've had this conversation way more than enough times already. Search for those previous discussions. Google for more. In the meantime I'm locking this thread.