Solved

vmware player memory leak on windows 7

Posted on 2013-01-23
9
1,408 Views
Last Modified: 2013-02-16
I have a fresh-out-of-the-box workstation class system with dual quad-core i7 and 20gigs of memory.

I've seen this issue on vmware player 4.0.2 and 5.0.1.

I take a fresh copy of a VM that I have been running with no problems on other machines, and start it up on this system.  The first time I start it, I have 20 minutes before the computer wedges after running out of memory.  Task manager shows all memory is used, but the process display doesn't show any process that is using much memory.  The vm is limited to 8gig, but appears to use less than three.  If I shut down vmware player before the machine wedges, only about half of the memory is released.

If I shut the vm down, and reboot the base machine, it comes back fine, and grows until it is using 10.0gigs, then seems to be stable... the base system seems to use 1.85gig, and the vm seems to use just under 3 gigs.  But 10.0gig is ok, this is the only application that I need running, and so I'm happy.  When I shut the vm down, about 8 gigs of memory is released.  so it seems ok now...

If I leave the vm running overnight, the machine is out of memory again.  I kill the vm, and stop vmware, and only 5 gigs are released, but process manager shows nothing is using much memory, nothing over 250meg... even though 15 gigs is being used.

This vm is the clone of a vm running under esxi, that has many months of uptime, and no memory leak.

The base os of the machine is windows 7, and the os of the VM is windows server 2008 running sql and mediaroom personal server.
0
Comment
Question by:georgew3
  • 6
  • 3
9 Comments
 
LVL 118
ID: 38811525
does it just occur on this Host?
0
 

Author Comment

by:georgew3
ID: 38811927
I built 4 identical hosts, but I shipped them all to other sites before I noticed the problem on one of them.  I suspect the problem exists on all hosts, but I can't be sure until I get one of them shipped back.  I'll have that answer in a couple days.  But it is a good question!
0
 
LVL 118
ID: 38811953
We haved used VMware Player, 3,4 and 5 VMware Workstation all versions up to and including 9.0, on Windows XP, Vista, 7 and 8 and we have never seen any memory leak issued.

thats not to say its not possible

Have you trialed VMware Workstation with the same VM eg 8 or 9
0
 

Author Comment

by:georgew3
ID: 38819296
I'll be trying a lot of things it seems.  I'm going through one fix at a time.

Someone is shipping me back one of the other systems I built, so I can do some side-by-side comparisons to see if it occurs elsewhere.
 
The systems are all the same model number, but have slightly different system builds, so what is different may include various drivers for video and other peripherals, as well as different processors.

I tried VMware player 4.0.1 and 5.0.2, with similar results.  I also noticed that the affected system didn't have any updates, it was running as installed.  So I applied updates, with no improvement.

So I'll do my side-by-side and see what I see.  I will also try reinstalling from scratch, as well as profiling each system with Sandra to see if Sandra notices any difference in the systems.

So I'll post more when I have it.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:georgew3
ID: 38837622
Ok, I have confirmed that it is happening on other machines I have built on the same hardware.

The application running in the virtual machine is a Microsoft Mediaroom Personal Server system, and it has several multicast video streams running.

The same VM running on ESXi can run 6 months at a time with no problems.  The VM running under VMware player can run about 8 hours or so, depending on how much memory the host machine has.

Another data point is that if I turn the media streaming off, essentially shutting down most of the network traffic, the memory leak appears to slow down or even stop.  It is a guess based on observation that the memory leak is related to network traffic.

The network traffic is modest on the fully running server, about 50 megabits of mostly multicast, with a small amount of unicast.
0
 
LVL 118
ID: 38838689
what nic is being used?

e1000 ?
0
 

Author Comment

by:georgew3
ID: 38845374
It is an Intel 82579LM gigabit adapter, in a Dell Precision portable workstation with 32gigs of memory and quad core i7 processor...
0
 

Accepted Solution

by:
georgew3 earned 0 total points
ID: 38845392
A solutions seems to be to run the VM under ESXi instead of vmware player, or to license VMware Workstation.

The first options is probably better,  except for the fact this machine is being used as a portable lab server environment for things like compliance testing... so if I move to ESXi, it would have to be deployed as two machines in order to access the console of the VM.  My concern with VMware workstation is I might pay the money for a license, and find out the same memory leak is there.

But if we could identify the source and solution for the leak, I can prevent doing a lot of work to redesign the system.

Doing things like changing network cards for one with a better driver are viable solutions... if the network driver/card are the problem.
0
 

Author Closing Comment

by:georgew3
ID: 38896185
No actual solution was found.  Work-arounds involve using more expensive versions of VMware, or use multiple machines for the application.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now