LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices



Reply
 
Search this Thread
Old 04-08-2013, 10:48 AM   #1
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 281

Rep: Reputation: Disabled
Is base memory of virtual machine used when virtual machine is not running?


If I don't start my virtual machine, will the total memory be availiable for the host OS?
 
Old 04-08-2013, 12:34 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,651
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Yes, a program that is not running (and a VM is nothing more than a program) will not use RAM.
 
Old 04-08-2013, 04:57 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 12,084

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
There have been some reports that ram is not being made available to the system after some few vm's are shutdown, that is not normal. I have not seen that myself. In some unique vm's like bare metal there may be some overhead too. Some gui's for VM's might use a bit of ram also.

In normal use, a vm that is turned off will as TobySGD points out, will not use ram just like any other unused program.

Last edited by jefro; 04-08-2013 at 05:06 PM.
 
Old 04-09-2013, 04:41 AM   #4
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 281

Original Poster
Rep: Reputation: Disabled
Thanks a lot TobiSGD, jefro
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How much base memory to allocate for the virtual machine? ravisingh1 Linux - Virtualization and Cloud 6 05-02-2013 10:44 AM
[SOLVED] Virtual machine is not running thiyagusham Linux - Newbie 2 02-21-2013 08:49 AM
Linux virtual machine not recognizing memory scottyp55 Red Hat 8 01-12-2010 06:43 PM
Can't start the Java Virtual Machine - memory problem? the182guy Debian 5 04-03-2009 01:16 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 02:04 PM


All times are GMT -5. The time now is 01:42 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration