VirtualBox

Opened 3 years ago

Last modified 3 years ago

#20931 new defect

VBoxSVGA-3d,host gpu memory leak

Reported by: lumory Owned by:
Component: 3D support Version: VirtualBox 6.1.34
Keywords: gpu memory leak Cc:
Guest type: Windows Host type: Linux

Description

I use VBoxSVGA device and open 3D accelerate. I tried to open and close the chrome browser repeatedly, then I use nvidia-smi to see host gpu memory,I found that the gpu memory leaked. I print pState->papSurfaces ,Lots of host surface are not released.

host ubuntu-18.04 kernel-5.4.0-107-generic virtualbox-6.1.34

guest windows7x64,windows10x64 chrome-100.0.4896.127

Change History (1)

comment:1 by janitor, 3 years ago

I can confirm that nvidia-smi reports ~15 Mb GPU memory leak each time Chrome browser opened and closed

Chrome browser is not started in guest VM:
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1389      G   /usr/lib/xorg/Xorg                 35MiB |
|    0   N/A  N/A      2113      G   /usr/lib/xorg/Xorg                112MiB |
|    0   N/A  N/A      2246      G   /usr/bin/gnome-shell               35MiB |
|    0   N/A  N/A     78506      G   .../release/bin/VirtualBoxVM      123MiB |
+-----------------------------------------------------------------------------+

After Chrome browser was opened and closed in guest VM:
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1389      G   /usr/lib/xorg/Xorg                 35MiB |
|    0   N/A  N/A      2113      G   /usr/lib/xorg/Xorg                144MiB |
|    0   N/A  N/A      2246      G   /usr/bin/gnome-shell               64MiB |
|    0   N/A  N/A     78506      G   .../release/bin/VirtualBoxVM      135MiB |
+-----------------------------------------------------------------------------+

Hopefully this problem will be fixed soon.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette