Memory Leak?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
iac249
Posts: 6
Joined: 10. Jan 2009, 08:37

Memory Leak?

Post by iac249 »

I'm running VB 3.0.10 r54097 on a Vista 64 host, and it seems to consume a huge amount of memory to run a VM. Keeping an eye on the task manager, memory usage creeps up. I've got 6GM RAM on the host, and running a 2GB VM, my mem usage is 77%.

Memory leak?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Memory Leak?

Post by Perryg »

Strange. I noticed that version 3.0.10-54097 actually manages the memory better.
Keep in mind that Vistas memory manager has a lot to do with it as well. If you open another program and Vista sees that you need more memory it will release some of what it has reserved and your actual memory indication will show more memory available.

You can use the sysinternals process explorer to see exactly what VirtualBox is using.
iac249
Posts: 6
Joined: 10. Jan 2009, 08:37

Re: Memory Leak?

Post by iac249 »

Perryg wrote:Strange. I noticed that version 3.0.10-54097 actually manages the memory better.
Keep in mind that Vistas memory manager has a lot to do with it as well. If you open another program and Vista sees that you need more memory it will release some of what it has reserved and your actual memory indication will show more memory available.

You can use the sysinternals process explorer to see exactly what VirtualBox is using.
Good idea; I'll try that. As of now, memory use has risen to 82% up from the 77% earlier.
sandervl
Volunteer
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, Solaris

Re: Memory Leak?

Post by sandervl »

First check how much memory Windows is using for its disk cache: http://technet.microsoft.com/en-us/sysi ... 97561.aspx
This value increases quickly as Vista tries to load as much of the VDI as it can.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Memory Leak?

Post by vbox4me2 »

Just disable superfetch and prefetch, they're useless anyway, vista will take a little more time to start up but after that things run alot faster.
Post Reply