﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
10801,~25 MB memory leak when changing nic1 from null to nat => Fixed in SVN,tehnicaorg,,"Hello,

Running this .bat
{{{
:a
""C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"" controlvm ""xp"" nic1 null
sleep 5s
""C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"" controlvm ""xp"" nic1 nat
sleep 5s
goto a
}}}
would increase the private memory of VirtualBox.exe (as seen by Process Explorer) by about 25 MB every time nic1 is switched from null to nat. (a lot faster if you remove the sleeps)
VirtualBox.exe starts with about 70-80 MB private memory and will grow fast after running the batch.

I've reproduced this with two VMs, one with Ubuntu 64, running or in VirtualBox's BIOS also, and one without a hard drive attached (XP, 32 bit), direcly in BIOS (I've pressed F12 when booting).

My initial problem was a crash in VBoxDD.dll which I've tried to reproduce (then I've only switched the nic a couple of times, to 'bridged' too).

Host: Windows 7 x64, SP1.",defect,closed,network/NAT,VirtualBox 4.1.18,fixed,,,other,Windows
