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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-07-2008, 02:54 PM
|
#1
|
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127
Rep: 
|
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
|
|
|
11-07-2008, 04:55 PM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,384
|
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.
|
|
|
11-07-2008, 05:14 PM
|
#3
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
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.
|
|
|
11-08-2008, 08:32 AM
|
#4
|
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: 
|
Thanks all - I believe it was an issue with the GUI monitor.
|
|
|
All times are GMT -5. The time now is 02:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|