Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-26-2002, 12:49 PM   #1
LQ Newbie
Registered: Jul 2002
Posts: 18

Rep: Reputation: 0
Unhappy Why linux eat so much RAM

Hello world!

I have RedHat 7.3 on AMD K7 with 256 RAM box.

The question is:

When X is started, about 3/4 of the RAM is used.
When BMRT render launched, I almost have no free RAM.

WHY linux eat so much RAM, and is there any way to free some of them?
Old 07-26-2002, 12:56 PM   #2
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
Why do you need to free so much RAM? It means 'tasty'.
Old 07-26-2002, 12:57 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
This is asked all the time. It loads as much as it can into RAM to utilize it. Why have so much RAM if its not going to be used ? Try searching the forums here, as this is asked and answered all the time. But don't worry, its normal to have all the RAM used up. Its when your swap space fills up as well, you should worry.
Old 07-26-2002, 03:22 PM   #4
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
memory management is a pretty stick o/s topic - it's not easy to understand, implement, or quickly explain. but, as tricky said, linux uses up as much RAM as possible because, basically, it's there to be used. the more RAM used, the less harddrive used - and that's a good thing.

linux memory management at one point had a reputation for being pretty slow, and during the early-to-mid 2.4 kernels, a bit unstable. but, now that the flamefests on the kernel mailing list have smoldered a bit, the kernel hackers have uber-dissected the memory several different ways from about thirty different angles, the memory management for linux has gotten pretty damn good by any o/s standards.

it's just important to remember that free RAM isn't necessarily a good thing - it could mean that your resources aren't being used properly.
Old 07-26-2002, 03:50 PM   #5
Registered: Feb 2001
Location: Oregon
Distribution: Mandrake
Posts: 68

Rep: Reputation: 15
Ya i was wondering about that also, i have 512 MB, and i would be running nothing, and it would say it was using over 300 MB. Things also seem to take longer to load for me than in windows, like netscape and stuff. tThere doesnt seem to be as much lag while running things once they load though.
Old 07-26-2002, 05:59 PM   #6
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
"running nothing" = False;

Unless you turn off your computer.

At all times, Linux kernel is on. Plus, misc modules. X, KDE, etc.

It's called EFFICIENT memory management. Why do you need free RAM? You are not running programs. The computer is. Let it worry about it. Sadly, the same can't be said for Windows 9x & ME, which at some point you WILL run out of RAM, or specifically, system resources to below 50%. Go on. And boom! Lagging. Losing graphics & icons. Freeze. And my stubborn friend always thought a hacker took over and wiped out Windows and reinstalled everything. W2K/XP is better in this regard. They use much more RAM and they elimiate one of the sys. res.
Old 07-26-2002, 08:43 PM   #7
Senior Member
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
you can also check if you have any memory leaks with memtest, it's a cool little program that runs in a flash and really does throughly test your memory,


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
RAM: Does linux require as much ram as Windows XP? hanzj Linux - Newbie 48 04-18-2007 12:14 AM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
mail queue being sent seems to eat my network korozion Linux - Networking 2 04-02-2005 11:49 AM
did Kmail eat my email? lnebrown Linux - Software 4 12-15-2004 06:02 PM
will reinstall eat FIFO boot manager rank_n00b Linux - Newbie 1 06-27-2004 08:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 AM.

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
Open Source Consulting | Domain Registration