LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2008, 02:54 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
VMWare - Who's got the memory?


Not sure if Software is the best forum for this question but here goes...

I have VMWare Player installed on Ubuntu 8.04. If I look at the system monitor I see that Ubuntu is using perhaps 400 MB of the 3 GB of RAM installed on the PC. If I invoke a VM which I have allocated 1 GB of RAM, the memory usage shown in the host OS shows little change. It I look at the guest OS (the VM) it shows perhaps 200 MB in use.

Apparently the VM is helping itself to RAM, not asking VMWare Player for RAM which the Player in turn would request from the host OS.

So the question is... How do I know how much RAM is in use on the PC and/or how much is available? I tried loading 4 VMs concurrently and the PC fell over and died. CPU utilization was very low, the hard drive was not being accessed but the PC was totally unresponsive. Seems that the RAM had been used up.

Thanks,

Ken
 
Old 11-07-2008, 04:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I don't use VMWare, and I don't like the GUI monitor, but here goes. I would be most surprised if the memory isn't being accounted for properly (by the system).
In the (GUI) monitor, it looks like the memory used (under Resources tab) is the total used minus cache and buffers (like free command shows on the second line). For the individual processes, looks like RSS minus shared.
Personally I'd use sysstat, or if you don't want to install that, "top" and "free" to watch things. Stick them in a batch script and loop it every 15 seconds - write the stdout to a file for some decent data.
 
Old 11-07-2008, 05:14 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Surely you can limit memory usage in the configuration file for each image? It has been a while but I seem to remember I could even set up things in such a way that virtual machines had a pool of RAM to share - and the virtual machine could even take back whatever was not required.
 
Old 11-08-2008, 08:32 AM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks all - I believe it was an issue with the GUI monitor.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtualbox/VMWare XP Guest Memory Requirements gmcauley Linux - Software 6 10-12-2008 03:11 PM
Freeing Memory on Vmware running machine?? ajeetraina Linux - Server 2 03-11-2008 08:46 AM
CentOS 4.5: Advice on upgrading memory beyond 4GB with VMWare involved harry edwards Linux - Server 2 01-26-2008 07:48 AM
How much memory for .NET applications in WinXP under VMWare? taylor_venable General 4 08-13-2007 12:22 PM
VMware memory!! Gerardoj Linux - Software 4 06-08-2003 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration