LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2008, 07:46 AM   #1
kalpana.manu
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
swap


how we can increase swap memory,
if we need many times to increase or decrease rem.
 
Old 09-12-2008, 08:16 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by kalpana.manu View Post
how we can increase swap memory,
if we need many times to increase or decrease rem.
You can increase swap memory by creating a large swap partison if you have the space... as for the RAM bit, that makes no sence. Generally I believe swap should be between 1.5 and 3 times the size of RAM. However is their is no need for the extra memory then it could very well be smaller.
 
Old 09-12-2008, 08:17 AM   #3
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 39
If you have a spare swap partition, you can enable it using the swapon command. Example:
Code:
/sbin/swapon -v /dev/sda1
I think you can create a swap file as well, if you don't have a complete partition.
 
Old 09-12-2008, 08:20 AM   #4
petermariano
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
I was searching for something about swap and I got this. I am also wanting to know how one can increase swap memory detail by detail. My other problem with swap is that I had a swap for my fedora installation but when I installed Unbuntu server and wanted to share the swap space, my Fedora installation lost access to the swap space. What do I do?
 
  


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
SWAP - having trouble with swap auto mounting at boot lostdj Linux - General 2 08-05-2008 01:47 PM
Need Help Increasing Swap by creating a swap file froggo Red Hat 3 06-13-2006 09:04 AM
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 01:57 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration