maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Clear RAM? (https://talk.maemo.org/showthread.php?t=47173)

wakkamis 2010-03-12 01:12

Clear RAM?
 
Is there a xterm command to clear out ram that may still be used by apps that you have shut down?

At times my n900 feels slugish. And I dont feel like rebooting everytime.

Thanks

mack07018 2010-03-12 02:00

Re: Clear RAM?
 
I wanted to know this too

ecksun 2010-03-12 02:34

Re: Clear RAM?
 
If an application is shut down the memory is freed, thats how more or less all systems work.

maxximuscool 2010-03-12 02:39

Re: Clear RAM?
 
pkill command
kill the process you like with PID.

vkv.raju 2010-03-12 02:45

Re: Clear RAM?
 
run "top" on your XTerminal and then use "kill <pid>" to kill a process of your choice. For some, you might need to have root access...

wakkamis 2010-03-12 05:34

Re: Clear RAM?
 
ah, so no super command to free up any memory thats being used up uselessly.

thanks for the rplkies guys. ill have to keep "kill" in mind and figure out what i need to kill.

ossipena 2010-03-12 05:46

Re: Clear RAM?
 
Quote:

Originally Posted by wakkamis (Post 564651)
ah, so no super command to free up any memory thats being used up uselessly.

thanks for the rplkies guys. ill have to keep "kill" in mind and figure out what i need to kill.

why do you want to keep your memory free? its bit like buying a ferrari and keeping it in garage forever....

wakkamis 2010-03-12 06:06

Re: Clear RAM?
 
think of the memory as oil. if the oil is dirty or low (fragments of memory being used by programs you thought were closed) the car starts running bad and making funny noises(other programs you are running start to skip or freeze).

i enjoy my ferrari, i just want to keep it running well. :)

wmarone 2010-03-12 06:35

Re: Clear RAM?
 
Quote:

Originally Posted by wakkamis (Post 564651)
no super command to free up any memory thats being used up uselessly.

The OS cannot identify pages as being "used up uselessly" nor could any command. A page is in use until the process that is using it is terminated.

90% of the time sluggish behavior is less from memory usage and more from cpu/disk usage. I've found it tends to be the background daemons like the mail daemon, tracker, and the thumbnailer.

TA-t3 2010-03-12 16:31

Re: Clear RAM?
 
wakkamis: RAM (memory) on the N900 (or any Linux system) does not work the way you think. It really doesn't. There's no reason to worry about dirty RAM.


All times are GMT. The time now is 00:19.

vBulletin® Version 3.8.8