Page 1 of 1
VirtualBox not freeing memory until VBoxSvc.exe is closed.
Posted: 20. Sep 2008, 15:41
by IAmBill
On Windows Vista Ultimate, if I start up a virtual machine that has 512MB of RAM allocated to it and then I shut it down (normally), VBoxSvc.exe seems to retain the memory of the virtual machine until I completely shutdown the VirtualBox application.
Anyone else having this problem?
Posted: 20. Sep 2008, 20:49
by Sasquatch
Have you searched here for your memory issue? There is a known issue with Vista that causes a memory leak. MS has made a hotfix for it. Please try that.
Posted: 21. Sep 2008, 00:53
by IAmBill
I left it open for 5 hours (with no Virtual Machines running), when I came back I found my computer running at 80% CPU and VBoxSvc.exe taking over 1.6GB of RAM. Once I close it.... it's all freed. I don't know how a hotfix for Vista will fix this because it isn't the one requesting the memory, but I'll try and install it if I already didn't.
If it's not against any license agreements with VirtualBox, I'll check out a disassembly of the process to see where it's allocating the memory, how often, and why.
Posted: 21. Sep 2008, 01:05
by TerryE
Yes it is a Vista "feature by design". There is a ticket which refers to an MS hotfix that removes this leak. However the VBox team have recoded the lines which cause the leak to avoid exciting this bug. This fix is in the 2.0.4 code stream, so if you don't load the hotfix then upgrading to 2.0.4 went it comes out will solve this issue.
http://forums.virtualbox.org/viewtopic.php?t=9584
http://support.microsoft.com/kb/KB949700
Posted: 21. Sep 2008, 01:07
by IAmBill
Thanks, I'll look into it.
Posted: 21. Sep 2008, 01:08
by IAmBill
Sorry about the double post, meant to edit, hit quote...
I'll install the hotfix and post something meaningful in this post later.

Any fix for this?
Posted: 27. Sep 2008, 21:47
by ridergroov1
HI folks. Just discovering VirtualBox and while I like it, this memory leak thing is killing me. There is no way I can continue to use this if this problem cannot be fixed. I am aware of the hotfix that is on the download page but when I tried to install that it said that it didn't pertain to my system, probably because I'm running Vista Ultimate SP1. Any help would be greatly appreciated.
Re: Any fix for this?
Posted: 27. Sep 2008, 23:19
by Sasquatch
ridergroov1 wrote:HI folks. Just discovering VirtualBox and while I like it, this memory leak thing is killing me. There is no way I can continue to use this if this problem cannot be fixed. I am aware of the hotfix that is on the download page but when I tried to install that it said that it didn't pertain to my system, probably because I'm running Vista Ultimate SP1. Any help would be greatly appreciated.
Please stick to your own topic. Don't crosspost. It's a waist of resources.