LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 04-13-2007, 08:03 PM   #1
asterik123
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Unhappy how can i run 3 linux virtual machines without going out of physical memory


I am a student and have been assigned a project where we had to install fedora 6... make 3 copies and name them as server, router, and client. Next we design a program in java where in the client and server talk through the router. The problem is i am not able to run the 3 vm's together, as it says "system out of physical memory". I reduced the memory size of the vm's to 156 MB form 256 MB and also changed the msconfig.exe file and disabled some of the programs such as whether bug, messenger, firewall, but to no avail... My RAM is 512 MB.. an suggestions?
 
Old 04-13-2007, 08:30 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I guess the obvious answer of "Get more RAM" isn't going to help you? Honestly though, attempting to run 3 heavy distributions at the same time on only 512 MB of RAM seems like a lost cause. Maybe if you were using something less resource intensive than Fedora it wouldn't be so bad.

Also, I don't technically think this is a Linux question. Granted you are trying to run Linux in the VM, but Linux itself isn't actually giving you a problem per-se. You are trying to adjust your Windows environment to let you run the VMs, which would make it a Windows problem,

I suppose you can't just install Fedora on a spare machine and then only run two of them in the VMs?
 
Old 04-13-2007, 10:07 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
So what happens if you change the default run level in /etc/inittab from GUI to CLI?
 
Old 04-13-2007, 10:15 PM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I assumed since it was a Java application it was GUI based, but that is a good point. If it is a console application, then he could drop X/GNOME all together and drop his RAM usage significantly.
 
Old 04-14-2007, 09:27 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
I havemoved this to General as it's more of a Windows question than a Linux question.
 
Old 04-14-2007, 01:10 PM   #6
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 38
The VM that's being the router certainly doesn't need a GUI. And he could probably kill off a lot of other started-on-boot services, too.
 
Old 04-14-2007, 05:21 PM   #7
asterik123
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply... I did try to change the /etc/inittab file but did not find any parameter for GUI. however there was something like x11 in the default run level 5 and was wondering if that refers to gui and needs to be changed. I was acually able to run the 3 vm's by reducing the memory for each to 96mb... it does reduce the system performance but works..I would definitly like to change the inittab file if you can tell me exactly where to make the change.
 
Old 04-14-2007, 05:51 PM   #8
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
No, you want to change a line that will look something like

id:5:initdefault:

to

id:3:initdefault:

(ie change the 5 to a 3).

In an FC inittab, you'll find this near the top where it discussed default runlevels
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Convert Physical Windows Systems Into Virtual Machines To Be Run On A Linux Desktop LXer Syndicated Linux News 0 02-20-2007 05:31 PM
LXer: Vista Home Editions Won't Run On Mac, Linux Virtual Machines LXer Syndicated Linux News 0 02-03-2007 05:54 PM
Physical to Virtual procedure for Linux emperor_black Linux - Software 1 11-29-2006 04:19 PM
Total system physical memory information in linux bhavishya_goel Linux - Kernel 2 08-15-2006 01:22 PM
Memory Mapping (same physical address = virtual address) skd.tech Linux - Kernel 7 07-24-2006 11:13 PM


All times are GMT -5. The time now is 07:58 AM.

Main Menu
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