VirtualBox

Opened 9 years ago

Last modified 9 years ago

#13526 new defect

Memory leak with 3D acceleration with Ubuntu lens

Reported by: rgargente Owned by:
Component: other Version: VirtualBox 4.3.18
Keywords: memory-leak, 3d-acceleration Cc:
Guest type: Linux Host type: Windows

Description

I have a Windows 7 host and Ubuntu 14.04 guest. If I enable 3D acceleration, there is a huge memory leak (about 100 MB per second) when the Ubuntu main system menu (Unity lens) is open. It is apparently related to the blurring effect, since there is no leak if I disable 3D acceleration and Ubuntu just shows a plain colour background.

The strangest thing is that I can see the memory being eaten away in my host's performance monitor, but the guest's performance monitor doesn't show any problem and the memory use is stable there. I hope this can be a clue as to where the problem lies.

I can work with 3D disabled but the system is totally unusable with it enabled, since the memory leak is so severe.

I attach a log file

Attachments (1)

VBox.log (116.1 KB ) - added by rgargente 9 years ago.

Download all attachments as: .zip

Change History (8)

by rgargente, 9 years ago

Attachment: VBox.log added

comment:2 by Mihai Hanor, 9 years ago

You should first install the newest graphics drivers for your laptop. You might not get the newest from Dell's website. Get them from Intel.com

comment:3 by rcaballeron, 9 years ago

I have literally the same problem you've described. In my case, the configuration is slightly different; my Windows 7 host machine has 12 Gb and guest Ubuntu with 4 Gb. As you comment, randomly Virtualbox eats completely the memory up, the whole amount. I'll test tomorrow your advice and I'll let you know if it also works for me.

comment:4 by rgargente, 9 years ago

Thanks mhanor. I tried to update my drivers from Intel but I couldn't install the last version no matter what I tried. I installed the last version from Dell succesfully. Strangely enough, now I can't get 3D acceleration to work with VB but the good news is that as a consequence I don't have the memory leak.

It will be interesting to know other people's experience. Let us know rcaballeron!

comment:5 by rcaballeron, 9 years ago

Hello again,

The deactivation of 3D acceleation prevent the problem; till here the good news. The bad ones are that I don't have graphic acceleration on Ubuntu.

Regards

comment:6 by galitsyn, 9 years ago

rcaballeron, is this still reproducible for you with the latest host graphics drivers? I can't reproduce this locally at the moment.

comment:7 by Dutran, 9 years ago

Hi,

I have had exactly the same problem VirtualBox.exe continuously keep increasing memory usage until it crashes and some more programms of mine since I have disabled paging file but it seems to be solved by udpdating the graphical driver. For info: I have Windows 7-64bit Host on a laptop with Intel Core i5 4th generation and HD-Graphic 4600 Graphics and Ubuntu 14.04.2 Guest.

Here's is how I have managed to update the driver:

  1. Download intel hd graphics driver from https://downloadcenter.intel.com get the zip file not the .exe(read the description to make sure you download the proper driver since there are several drivers having similiar names but each one is for different cpu generations and so on). In my case Version: 15.36.21.64.4222
  2. Extract the zip file to a location of choise
  3. Start -> right-click on Computer -> choose Manage -> Device Manager -> Display adapters -> right-click on Intel(R) HD Graphics -> choose Update Driver Software -> Browse my computer -> Let me pick from a list -> Have Disk... -> Browse... -> and choose the folder "Graphics" of the extracted zip file (the wizard should automatically recognize a .inf file) and press open -> OK -> next -> and now it should install the driver
  4. Restart

Voilà! Opening and closing the Unity lens several times and VirtualBox.exe's memory usage is still around 200000kB and it's not increasing.

I felt like sharing this and I hope this is helpful.

Regards

Last edited 9 years ago by Dutran (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use