Ticket #2131 (closed defect: worksforme)
Memory leak during Linux installs?
|Reported by:||A20_user||Owned by:|
|Version:||VirtualBox 2.0.0||Keywords:||Memory leak|
Host is Vista Home Premium with all patches, but no SP1.
Created a fresh 8 GByte *.vdi from VBoxAdmin. Created a new machine for "openSUSE", 512 MByte RAM, 8 MByte VGA, enabled access to Host DVD drive including pass thru, enabled audio using "Windows" driver. Booted from PC-Welt Linux DVD 4/2008 containing OpenSuse 11 and other, booted OpenSuse in 800x600 for install. Physical memory usage indicated by Task Manager rose at one point near start of install by a few 100 MByte, but still not too dangerous, approx 1.3 GByte in use then, 0.5 GByte before start of virtual machine. Choose some more software packages during install, in my case some fileservers and command and kernel development. Installation runs, the V.B. window ist partially covered most of the time, I have only occassionally a look on it, click into, go back by Ctrl (host key). Installation seems complete, Guest reboots, Physical memory usage increases sharply to 1.62 GByte. But even TopToBottomNT process monitor shows only "Process total address space is 700328 K" for the VirtualBox.exe actually running the Guest (the other with GUI is still there, but neither it nor the VBoxServ.exe has dramatic memory usage). I manually counted the 1024 Kb allocations and it were only approx 500, very few larger ones (up to 8 Mb) between them in the list. But all the memory freed after shutting down Guest (clean power down from within it, after it booted from its *.vdi). I tried the same install a second time and got the same result again. Of course I did not exactly the same in parallel on that computer, but nearly the same, little *.pdf reading and web browsing. Checked all the svchost.exe for excessive total address space, but none.
This time I will not boot into just installed Linux, but start Rescue Live-CD from this menu, and then mem test. (My mem is ok, but just as a machine stress.)
Task Manager dump of this VirtualBox.exe is 650 MByte only.
I shortly started another Live-CD inside the DVD and (seen later) probaly at same time mem usage increased again by apporx 200 to 300 MByte, but returned to 1.62 G after return to primary boot menu.
Ok, power off. Physical mem usage down to 791 MByte, there is still something missing, at first time it went down to 500.
Is it Vista or VirtualBox?
The *.log and *.xml are attached.
- Status changed from new to closed
- Resolution set to invalid
- Status changed from closed to reopened
- Resolution invalid deleted