This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 "eating memory" when creating files


> As I already pointed out earlier, every operation that modifies the contents
> of a JFFS2 file system writes new nodes to the log, which are represented in
> RAM as a struct raw_node_ref. Hence the increase in RAM usage is normal and
> expected behavior. RAM usage will continously increase until garbage collection
> is triggered.

I see.


> Try using the pool option and watch the increase disappear.

I guess I worry a bit about what size to set it to.

What will happen if I set it too low?

What is the right size for my application?

"Read the source Luke" :-)



Øyvind



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]