File size limitation on JFFS2.
David Woodhouse
dwmw2 at infradead.org
Tue Jul 11 19:01:51 EDT 2006
On Tue, 2006-07-11 at 15:32 -0700, Han Chang wrote:
> I'm trying to put a file of size 1G on the JFFS2/NAND. I got "Out of Memory"
> error. Looks like the max size of file I can put on it is 500M, though my
> NAND has 2G space. This is on Linux. I noticed JFFS2 is using filemap in the
> Linux mm, where it crashed. Any help?
Yeah, JFFS2 doesn't scale well to that kind of size. Are you using the
2.6.18-rc1 kernel? That has some improvements to its memory usage.
Another thing that'll help with this is going to 16KiB or 32KiB node
sizes instead of limiting them to 4KiB.
--
dwmw2
More information about the linux-mtd
mailing list