LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-19-2008, 11:47 AM   #1
chuoivailua
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Swap space doesn't work


Hi,

I'm using Fedora 7 on a box with 1GB of RAM. Because cannot to create too many partitions on hard disk so I disabled swap space on installation. Then I created a swap file and saw it available in KInfoCenter but this swap space was still not used yet although physical memory was going almost full.

I don't know swap space is not necessary or Linux got problem and how to resolve it?

Thanks and pardon me for my bad English
 
Old 02-19-2008, 11:52 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
How many partitions do you have? You are limited to 4 primary partitions, but you can have more by using logical partitions. (The limit is ~15 for SATA, and much more for PATA)
 
Old 02-19-2008, 07:34 PM   #3
chuoivailua
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Forgot to say that I'd tried to remove Windows, reinstalled Fedora and created a swap partition but I got the same problem: KInfoCenter shows it available but never be used.

In fact, my computer was still running well (better than Windows ) but I will use VMware workstation to test something then I'm afraid it has not resource enough to run.
 
Old 02-19-2008, 07:40 PM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Windows uses swap files even if everything fits in physical ram.

I'm not sure whether Linux never does that or whether there are some obscure cases. But generally, if everything fits in physical ram, the swap space isn't touched.
 
Old 02-19-2008, 07:42 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Just because it's not being used at the moment, doesn't mean that it won't be. What is the output from the free command? It will show how much swap space the system recognises.
 
  


Reply



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
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
how much swap space is needed; how to increase swap space? johnpaulodonnell Linux - Newbie 5 03-23-2007 03:20 AM
swap space user52 Linux - Newbie 1 02-12-2007 10:00 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
How does Swap Space work? linuxnoobie Linux - Newbie 3 06-21-2003 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:59 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
Open Source Consulting | Domain Registration