ASU - out of memory?

Tilman Baumann tilman at
Thu Aug 21 13:35:50 CEST 2008

Rui Miguel Silva Seabra wrote:
> On Thu, Aug 21, 2008 at 12:58:44PM +0200, Tilman Baumann wrote:
>> Carsten Haitzler (The Rasterman) wrote:
>>> On Thu, 21 Aug 2008 11:42:52 +0200 Tilman Baumann <tilman at> babbled:
>>> no.. you need to find who is leaking memory and beat them up! :) seriously.
>>> 128m is more than enough. it's almost overkill. needing swap (on a device like
>>> the freerunner) is a sign of "stupid programming" :)
>> I understand your Argument and it is true. But the conclusion is wrong.
>> Even if you don't have obvious leaks, some memory will not be used most 
>> of the time and can be safely dumped out of the RAM.
>> Like some background process which is sleeping almost all the time. Or 
>> other multitasked apps which are not used currently.
>> Or all the fat frameworks which probably take some memory for code or 
>> data which are almost never used.
>> All this memory is wasted on valuable RAM. Even if only a hand full of 
>> pages end on swap, they are saved from clogging up RAM.
> But every access to swap will mean a significant decrease of battery
> life.

There are probably some kernel-knobs to fiddle with to make the kernel 
behave very conservative in regards to how early it pages something out.
A ideal swap would only be filled with stuff that is not to be read 
again for ages.
Or in other words, it should be as un-dynamic as possible.

Drucken Sie diese Mail bitte nur auf Recyclingpapier aus.
Please print this mail only on recycled paper.

More information about the community mailing list