High - creeping memory usage W7 Host Arch Guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
MarmotteNZ
Posts: 5
Joined: 6. Aug 2015, 16:48

High - creeping memory usage W7 Host Arch Guest

Post by MarmotteNZ »

Dear all.
For the past two or three version of Vbox, I have noticed that whenever I leave my guest OS ON for several hours, and regardless of it being idle or doing intensive thing (ripping videos etc), the memory usage in the host would creep up.
Last night, I left the guest idle overnight, in the morning the memory allocated in Windows was at the top. My Host was barely responsive.
What is weird is that, neither the processes (including "show processes from all users") or the "Resource Monitor" show anything significant for the VirtualBox process. (it showed then only 30ish Megs used by the rpocess). Nevertheless, shutting down my guest instantly dropped my memory usage, as per the attached screenshot.

I don't know what to do. I don't think I am allocating too much to the guest (see log attached).
It is weird that windows does not even report properly the memory usage in the process list.
Should I suspect a bug in WIndows itself rather than VirtualBox?
Attachments
VBox.7z
(24.16 KiB) Downloaded 2 times
arch - VirtualBox Log Viewer_2015-10-15_09-51-32.png
arch - VirtualBox Log Viewer_2015-10-15_09-51-32.png (51.17 KiB) Viewed 875 times
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: High - creeping memory usage W7 Host Arch Guest

Post by mpack »

And why do you think that VirtualBox is allocating this memory, and not (say) the host data cache doing what it's supposed to?

Does the host OS fail to surrender this memory when asked?

(Tip: we have had this conversation many times. We know that what you're seeing is normal).
MarmotteNZ
Posts: 5
Joined: 6. Aug 2015, 16:48

Re: High - creeping memory usage W7 Host Arch Guest

Post by MarmotteNZ »

"And why do you think that VirtualBox is allocating this memory, and not (say) the host data cache doing what it's supposed to?"
I don't know indeed

"Does the host OS fail to surrender this memory when asked?

(Tip: we have had this conversation many times. We know that what you're seeing is normal)."

I don't know/understand the inner working of Windows in regards to memory management.
What I know is that, as per my initial writing, "host was barely responsive" [...until I close the guest machine...]. So indeed NO I don't think it is normal for the host to become non responsive whenever a virtual machine - with no more than half the memory allocated to it - is left running for a few hours) and YES I suspect the host is somehow failing to surrender (or whatever other term is relevant) some memory.

Even if I don't have the theoretical background to understand/explain how this is happening, my practical experience - repeated every time - shows me that the responsiveness of the host comes back when I shut down the guest machine.

I am also experiencing many crash/freeze that forcibly pause the guest machine - or sometimes crash it completely. See log attached..it just happened:
Attachments
arch-2015-10-26-11-03-19.7z
(22.64 KiB) Not downloaded yet
Post Reply