[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Strange query on Axis devboard


(I CC this to dev-etrax because it may be interresting for the

The linux kernel considers free memory as a waste of resources. So when 
you write a file to the flash the kernel decides to keep a copy in
in case someone needs it again soon (RAM is much faster than flash). 
But if the kernel gets low on memory it will of course throw out your 
data from RAM and fetch it from flash instead when necessary.

In /proc/meminfo you can see how much the kernel has cached in this
way in the row that says Cached: .


-----Original Message-----
From: Ajay Kolambekar [mailto:ajayk@xxxxxxx.com] 
Sent: Wednesday, July 14, 2004 11:10 AM
To: Mikael Starvik
Subject: Strange query on Axis devboard


I am using axis devboard82.

I have written an application that creates files and stores at

and when I look at /proc/meminfo it show that free memory available is
reduced !

When I delete those files It again increases the free available memory 

I did not understand y this kind of behavior is there 

i am a newbe

so tell me if i am doing something wrong or using meminfo not correctly

Thanx in advance