Opened 15 years ago
Closed 15 years ago
#5966 closed defect (fixed)
Remote Desktop to Windows 2000 guest causes uncontrollable memory usage => Fixed in SVN
Reported by: | cpuprocess | Owned by: | |
---|---|---|---|
Component: | RDP | Version: | VirtualBox 3.1.2 |
Keywords: | Windows, RDP, remote, memory | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
When I tried to connect from a remote Windows 2000 Professional system to a Windows 2000 RTM guest running on XP Home Build 2600 SP3 host with no authentication, memory usage goes from about 50MB to over 1GB. VirtualBox v3.0.8 doesn't seem to have this problem. The host system has 2GB of memory, and the guest is configured for 256MB of memory. Thank you for your time to try to resolve this problem.
Attachments (7)
Change History (14)
comment:1 by , 15 years ago
by , 15 years ago
comment:2 by , 15 years ago
When I connected from a remote Windows 2000 Professional system to a Windows 2000 RTM guest running on XP Home Build 2600 SP3 host with no authentication and tried to run Happy Aquarium on Facebook, memory usage goes from about 50MB, which is normal on my system, to over 1GB. VirtualBox v3.0.8 doesn't seem to have this problem. The host system has 2GB of memory, and the guest is configured for 256MB of memory. Thank you for your time to try to resolve this problem.
comment:3 by , 15 years ago
Thanks for the log file.
What happens if you disable VRDP for the VM and then run the Windows 2000 guest with Happy Aquarium? Do you still see the memory leak?
BTW what is the URL for Happy Aquarium?
comment:4 by , 15 years ago
When I connect "remotely" to the VM using the Remote Desktop Connection bundled with the XP host, I see a smaller memory leak; I have attached the log for this trial in VBoxXP.log, and a screenshot of the memory usage. When I don't use VRDP, whether it is enabled or not, there appears to be no memory leak; I have attached the log for this trial in VBoxNoVRDPused.log.
The URL for Happy Aquarium is: http://apps.facebook.com/happy-aquarium/
by , 15 years ago
Attachment: | VBoxNoVRDPused.log added |
---|
by , 15 years ago
Attachment: | VBoxXP.log added |
---|
by , 15 years ago
Attachment: | vboxbugxp.JPG added |
---|
comment:5 by , 15 years ago
I see memory leakage on host (VBoxSDL/VirtualBoxVM process) at a rate of a few megabytes per minute whenever Remote Desktop Connections are active and the display is changing (video, animated gifs etc). When the screen is static or there is no active Remote Desktop Connection no further leakage occurs. At no stage does the memory appear to get released while the Virtual Machine is active. Analysis of memory usage within the guest OS shows it isn't being allocated there.
Combinations where problem confirmed:- Host: Debian squeeze running vbox 3.1.6, 3.2.6, 3.2.8 , Guest: Ubuntu 10.4 Host: Mac OS X 10.6.4 vbox 3.2.8, Guest: Ubuntu 10.4 Host: Mac OS X 10.6.4 vbox 3.2.8, Guest: Windows XP Pro Host: Windows XP Pro vbox 3.2.8, Guest: Ubuntu 10.4 CD in 'try/demo' mode (here I used all the default options when creating the VM) Host: Windows XP Pro vbox 3.2.8, Guest: Windows XP Pro
If left long enough the VM fails with this log 19:23:12.241 PGM: Failed to procure handy pages; rc=VERR_NO_MEMORY rcAlloc=VERR_NO_MEMORY rcSeed=VINF_SUCCESS cHandyPages=0x10 19:23:12.241 cAllPages=0x484cf cPrivatePages=0x2cf43 cSharedPages=0x0 cZeroPages=0x1b58c 19:23:12.242 PGM: Failed to procure handy pages; rc=VERR_NO_MEMORY rcAlloc=VERR_NO_MEMORY rcSeed=VINF_SUCCESS cHandyPages=0x10 19:23:12.242 cAllPages=0x484cf cPrivatePages=0x2cf43 cSharedPages=0x0 cZeroPages=0x1b58c 19:23:12.243 VM: Raising runtime error 'HostMemoryLow' (fFlags=0x2) 19:23:12.243 Changing the VM state from 'RUNNING' to 'SUSPENDING'. 19:23:12.292 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'. 19:23:12.293 Console: VM runtime error: fatal=false, errorID=HostMemoryLow message="Unable to allocate and lock memory. The virtual machine will be paused. Please close applications to free up memory or close the VM"
Seems to be a general problem here with the RDP service, can anyone else confirm?
by , 15 years ago
Attachment: | combos_and_log_extract.txt added |
---|
sorry last 2 paragraphs formatted properly
by , 15 years ago
Attachment: | monitored_host_mem_usage.txt added |
---|
a log showing memory usage and leak on host
comment:6 by , 15 years ago
Summary: | Remote Desktop to Windows 2000 guest causes uncontrollable memory usage → Remote Desktop to Windows 2000 guest causes uncontrollable memory usage => Fixed in SVN |
---|
We believe that we found the memory leak. The fix will be contained in the next maintenance release.
comment:7 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Please attach VBox.log of the Windows 2000 VM.