Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a new linux user, and I recently installed Redhat 8.0 on a PIII 866 mhz with 512 mb ram. The install was a breeze, and it appears to be running properly, but I noticed that after the computer has been booted up about an hour, it is using 97% or 100% of my memory. It will stay at this 97%/100% threshold until I reboot, at which point it drops back down to 27% or something and begins (as I open programs) it's steady ascent all over again to 97%. The memory usage is confirmed in 'top' as well.
I have been trying to pinpoint a particular program that may have a memory leak, but this seems to happen no matter which programs I have open. At no time is there any process in top using more than a fraction of the memory, and the swap memory remains untouched.
It's not particularly debilitating to my system; everything still seems to run well despite all the mem usage, and I don't really notice any slowdown, but it just seems a little excessive to be using all that ram the whole time.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
Linux is using all the ram as hard drive
cache, until you need it for something else.
under top
you can check the entry for cached, to see
how much it is using for cache at that time.
Is it safe to assume that this is also true in Slackware 9?
I have 1 gig of RAM and after about a day of running, it's using about 900MB of my RAM. I figured this woutd be causing major heat issues if it was actually "using" the RAM. I felt my DIMMs and they are as cool as they ever are.
Originally posted by VioLaToR Is it safe to assume that this is also true in Slackware 9?
I have 1 gig of RAM and after about a day of running, it's using about 900MB of my RAM. I figured this woutd be causing major heat issues if it was actually "using" the RAM. I felt my DIMMs and they are as cool as they ever are.
They are just ready and waiting? is that correct?
Yes, like stated before and many other times, Your RAM being used is a good thing.. Why have 1 GB of RAM and only 128 Megs are being used at any maximum time, that would be a waste of memory and you might as well only use a 128 MB stick of RAM right? But no worries, Slackware last time I checked was Linux and they all work the same way with utilizing your RAM in your system.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
the ram is generating the same amount of heat
whether it is utilized not. at each refresh "all" the
ram is refreshed, whether it has all zero's in it or not.
OK the reason for the way linux is "using" so much ram is that unlike the way windows manages memory(by putting it into a wait state untill its used, hence bsod and similar problems) linux ACTIVELY manages the memory in a particular system meaning it puts a flag into the first byte of every MEGABYTE of memory in the system that tells the kernel what is in "use" and what is not. The kernel then in turn knows how much memory is available for things like disk cache, apps and so forth so it doesnt have to change the state of memory from a wait state to an active(i.e. useable) state. because it is ALL active all the time. This is why apps and such run better under linux because they dont have to wait on the memory they require to"wake up". the kernal can place data into memory DIRECTLY. its also why the unix version of pre-emtive multitasking is more stable than the MS version.
Linux is more efficient in utilizing RAM than windows. A 256 MB is plenty for average desktop usage with linux. 128 is enough with GUI and 512 is more than enough. Don't worry to throw more RAM -> the more the merrier ;-)
Unlike windows, even if you have 1GB of RAM the disk swaping is still intense for some apps -> this slows down the performance since RAM is much faster than HDD. Try open an run as many applications simultaneously as you can ;-)
Currenly the 32-bit version of linux can handle 64GB of RAM, how much your motherboard can handle, 4GB? Don't ask the 64-bit version yet, I don't know.
I'm running slackware 9.0 and have some really strange problem. The ram usage is growing in steps of 30 kb every 10 secs.
I have no services running( only sendmail and sshd and system processes like atd and so on) and no users(fresh install).
Im using 256 ddr ram. Is it s it normal, cause i think in a couple of hour it will take all my ram.
What i need to do. Thanks to all.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
if you look under
top
you'll probably see that the ram is used as "cached"
that's drive cache and it's good. it will be released
if a program needs it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.