Ticket #9940 (closed defect: worksforme)
Memory leak on VM network IO
|Reported by:||jeffh||Owned by:|
|Version:||VirtualBox 4.0.4||Keywords:||memory leak ubuntu windows|
Description (last modified by frank) (diff)
I have several VM servers running Ubuntu 11.04 64 bit, and the Virtualbox-OSE 4.04 release that comes with it. I was going to do some testing of the current release, but after perusing the changelogs and bug trackers, I did not see anything indicating that this had been identified or fixed. I can arrange to test current or pre-releases if needed.
What seems to be happening is that certain types of network IO are causing the host to leak memory into the guest's process. Here are some instances that I noticed it in:
Ubuntu Server 11.04 64bit guest running iSCSI target Windows Server 2003 guest mounting the iSCSI volume.
Initiating a large robocopy job causes a memory leak in the Ubuntu guest, but not the Windows guest.
From a 3rd Windows PC: I browse to a SMB share of the Windows guest's iSCSI volume and select all files, then right-click>properties, to enumerate all of the ~200GB of 300,000 files and get their size and count. This causes a huge memory leak in the Windows guest, but not the Ubuntu guest.
I also have a memory leak in a Ubuntu/Squid/Dansguardian Proxy server, but it's only pronounced if I allow a significant amount of mem_caching of web content.
Rebooting either VM does not correct the leak, I have to shut it down completely, then start it again from Virtualbox or vboxmanage.