Opened 13 years ago
Closed 12 years ago
#10859 closed defect (fixed)
Memory leak while running a long process in guest
Reported by: | SamuraiJack | Owned by: | pentagonik |
---|---|---|---|
Component: | guest control | Version: | VirtualBox 4.1.20 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
Hello,
I'm experiencing a memory leak, while running a long process in guest with:
vboxmanage guestcontrol VMNAME execute ...
My host is ubuntu 10.04, guest Win7. Host has 4GB RAM, 2GB is assigned for guest.
The exact command line I'm using:
vboxmanage guestcontrol nightlies execute --image "c:
Windows\System32
cmd.exe" --username bryntum --wait-exit -- "/C l:
siesta
bin
webdriver http://local/workspace/Bryntum/ExtScheduler2.x/tests --browser=chrome > $SAVETO
scheduler-chrome.txt"
It launches cmd.exe, with /C key, which launches some other bat file. That bat file then runs some lengthy tests. The output is redirected to file (inside of guest, not in the host).
I've choose such design because the bat file is on network share, and I was not able to launch it directly.
While running the tests, I'm monitoring memory usage by the VBoxManage process in the host - it steadily grows and never drops down. Over time it grows to 1GB.
For now it works for us (because we have a lot of memory), but would be great to have this fixed.
Thanks, Nickolay
Change History (10)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
Thanks for the report; we've reproduced the issue and this will be fixed in the next upcoming maintenance version.
comment:3 by , 12 years ago
Unfortunately this was not fixed in 4.1.22 due to lack of time. Will update the defect as soon as there are news on that.
comment:4 by , 12 years ago
The fix just made it into the next upcoming 4.1 and 4.0 maintenance releases.
Please close this ticket as soon as this then works for you. Thanks again for the report.
comment:5 by , 12 years ago
Great, thank you! Will test shortly after release (I'm on Ubuntu lucid release channel).
comment:7 by , 12 years ago
The code has been effectively rewritten for 4.2.0, so it should have different bugs.
comment:8 by , 12 years ago
I've upgraded to 4.2.0. It doesn't seem to have this bug. Sorry, I won't be able to test this issue with 4.1.x. Closing this bug, thanks a lot!
comment:9 by , 12 years ago
The only option I see in "Modify Ticket" is "leave as accepted".. Please close this ticket yourself.
Steps to reproduce the issue:
Additional details:
screen
)(Command above basically will never exit, until you won't close the "cmd" window or type "exit" in it)