VirtualBox

Ticket #10342 (new defect)

Opened 2 years ago

Last modified 2 years ago

Memory leak

Reported by: scazy Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.8 Keywords: Memory leak
Cc: Guest type: Linux
Host type: Windows

Description

Host: Windows 2008 x64.
Guest: Linux Debian Squeeze x64.

VirtualBox (and VBoxHeadless to) eats a lot of Memory.
About 3GB in 6 hours.
After VBox restart, memory is freed.
And with State saving to - оn screenshot you can see this.

In guest OS there is daemon, which uses:

  • about 300 continous TCP connections whith incoming traffic (100KB/minute) each.
  • about 10 UDP listenrs whith incoming traffic (10KB/minute) each.
  • 20-30 TCP connections whith outgoing traffic (200-500KB/minute) each.
  • Shared Folder in host OS with 1-10MB/min reads and 5-15MB/min writes.

Attachments

screen1.JPG Download (83.4 KB) - added by scazy 2 years ago.
Memory freeing after VBox restart with State saving.
screen2.JPG Download (18.3 KB) - added by scazy 2 years ago.
memory levels on guest.
screen3_compressed.2.jpg Download (193.3 KB) - added by scazy 2 years ago.
screen3_compressed.jpg Download (193.3 KB) - added by scazy 2 years ago.
Before reboot with extended RAM.
screen4_compressed.jpg Download (183.9 KB) - added by scazy 2 years ago.
After reboot with extended RAM.

Change History

Changed 2 years ago by scazy

Memory freeing after VBox restart with State saving.

comment:1 Changed 2 years ago by frank

How many RAM did you configure for that VM? Please have also a look at #10103.

comment:2 Changed 2 years ago by scazy

RAM was setted to 2,5GB and 3,5GB with same result.

On this week we will try to extend phisical RAM and I will tell about results.

Version 1, edited 2 years ago by scazy (previous) (next) (diff)

Changed 2 years ago by scazy

memory levels on guest.

comment:3 Changed 2 years ago by scazy

On screen2.JPG you can see memory usage. Usage level does not increasing.
But in same time host memory is gradually filled.

Anyway, we will test with extended phisical RAM level.

Last edited 2 years ago by scazy (previous) (diff)

comment:4 Changed 2 years ago by scazy

We have tested Vbox with extended RAM (16GB instead 8GB).
You can see the result on last two screenshots.
VBox uses 9GB, however guest RAM is 6GB and it uses only 2,4GB max.

Changed 2 years ago by scazy

Changed 2 years ago by scazy

Before reboot with extended RAM.

Changed 2 years ago by scazy

After reboot with extended RAM.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use