LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   free ram (https://www.linuxquestions.org/questions/linux-desktop-74/free-ram-508169/)

tallman19 12-07-2006 06:28 AM

free ram
 
I have just 128mb of ram.
Is there a program for Linux like RamBooster or FreeMem for M$ :Pengy:

PS
just lazy to compile my own kernel that would use less ram :o

David the H. 12-08-2006 12:02 AM

Who says Linux needs programs like that?

Now, I'm no expert (and hopefully someone will correct me if I'm mistaken), but as I understand it, pretty much all those rambooster programs do is apply tricks like flooding your RAM with temporary data, which forces windows programs to give up whatever RAM they aren't using at the time. This is needed because some programs are so brain-dead that don't voluntarily give up memory space when they close or otherwise don't need it. Other than that it's mostly just smoke and mirrors.

Linux has better memory management overall though, and applications are generally better behaved. It may seem like all your RAM is being used up sometimes, but, unless you're running something big, that's just because Linux doesn't like to clear data from RAM until the space is actually needed for something else. Rest assured that when you need it, the maximum possible RAM will be made available for your use.

As for your kernel, that's really a completely different topic. No amount of ramboosting is ever going to have any positive effect on how much memory the base system itself needs to run (other than unloading any unnecessary modules, of course). If you want a lighter kernel, then you're just going to have to quit being lazy and compile one yourself.


All times are GMT -5. The time now is 12:16 AM.