You are not logged in.
Pages: 1
Yesterday, my laptop (which only has 512 Mb RAM) was running like a dog - that is to say, slowly and painfully. Firefox would hardly work at all. A memory check ("free -t") indicated very little free physical memory. So I closed all running applications, and even shut down X. But there was still a vast amount of memory being used. I checked with top, and with ps, and couldn't see anything which was using memory. In the end I just did a reboot, and I'm going at a spanking pace now.
But - going back to my former position - how can I determine where the memory hole is, and how to plug it?
Thanks,
Al
Offline
Are you looking at the "correct" line in free's output? The line that begins with "-/+ buffers/cache" is the one that you should give you the most accurate results. Depending on the situation the other lines in free can lead you to believe you have a lot less free memory, for example:
$ free -t -m
total used free shared buffers cached
Mem: 3950 3750 200 0 250 2614
-/+ buffers/cache: 885 3065
Swap: 1027 0 1027
Total: 4978 3750 1227
Other than that, I don't know what else to tell you other than that 512 just isn't a whole lot anymore
Offline
This was my first thought when reading the subject title.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Other than that, I don't know what else to tell you other than that 512 just isn't a whole lot anymore
I know that, but it's all I've got, and I'm used to running a fairly lean machine (lxde desktop, for example). If it happens again I'll check the output of free more carefully. It did seem, though, that a lot of memory was being used, but I couldn't find any open process which could have been using it.
Thanks.
Offline
I generally blame all loss of memory on beer.
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Most likely this is to blame.
Offline
Yesterday, my laptop (which only has 512 Mb RAM) was running like a dog - that is to say, slowly and painfully. Firefox would hardly work at all. A memory check ("free -t") indicated very little free physical memory. So I closed all running applications, and even shut down X. But there was still a vast amount of memory being used. I checked with top, and with ps, and couldn't see anything which was using memory. In the end I just did a reboot, and I'm going at a spanking pace now.
But - going back to my former position - how can I determine where the memory hole is, and how to plug it?
Thanks,
Al
LInux, as it should, tries to use all your memory. Free memory is wasted memory. If there's no apps loaded, let's use it for disk cache.
Anyway, if you look at the output of free:
total used free shared buffers cached
Mem: 3114096 794068 2320028 0 128500 391344
-/+ buffers/cache: 274224 2839872
Swap: 265064 0 265064
My "free" memory is -/+ buffers/cache: 2839872
If your system is running slow, I'd look at TOP. Maybe a process like FAM has gone nuts.
Offline
Where did my memory go?
I don't remember.
Offline
Thanks all of you.
toad - I don't drink much now - but I do like Catweazle in your avatar.
dhave - I never thought of the neuroanalyzer.
Xyne - I'm still a bit young for that. (Stupid, though).
Now - what were we talking about?
Offline
Pages: 1