Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 04-13-2007, 09:03 PM   #1
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, 09:30 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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, 11:07 PM   #3
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

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

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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, 10:27 AM   #5
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
I havemoved this to General as it's more of a Windows question than a Linux question.
Old 04-14-2007, 02:10 PM   #6
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, 06:21 PM   #7
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, 06:51 PM   #8
LQ 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




(ie change the 5 to a 3).

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


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 06:31 PM
LXer: Vista Home Editions Won't Run On Mac, Linux Virtual Machines LXer Syndicated Linux News 0 02-03-2007 06:54 PM
Physical to Virtual procedure for Linux emperor_black Linux - Software 1 11-29-2006 05:19 PM
Total system physical memory information in linux bhavishya_goel Linux - Kernel 2 08-15-2006 02:22 PM
Memory Mapping (same physical address = virtual address) Linux - Kernel 7 07-25-2006 12:13 AM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:15 PM.

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