Memory usage?

Steve Tsai startec at ms11.hinet.net
Tue Oct 15 00:11:27 EDT 2002


It does not include cache and buffer. I know the most memory becomes the
cache, but I am using uClinux and the lower MemFree will cause system
crash when I am loading program. I need to prevent the case.


Steve Tsai



> -----Original Message-----
> From: Russ Dill [mailto:Russ.Dill at asu.edu] 
> Sent: Tuesday, October 15, 2002 12:35 AM
> To: Steve Tsai
> Cc: Linux MTD mailing list
> Subject: Re: Memory usage?
> 
> 
> On Mon, 2002-10-14 at 01:13, Steve Tsai wrote:
> > Does JFFS2 will allocate large memory to read big file? I 
> have  a 128M 
> > bytes nand flash on my board and there is a large file about 12M 
> > bytes. After I use the  testing program to read the file, the free 
> > memory reduce to 312Kbytes (from 10660Kbytes). How can I reduce the 
> > memory usage of JFFS2? Thanks.
> 
> what do you mean by "free memory", are you including buffers 
> and cache?
> 





More information about the linux-mtd mailing list