This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
zcalloc: failed to allocate bytes error - RedBoot
- From: Benny Chen <bennyc at rtunet dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: 01 Dec 2005 15:25:17 +1000
- Subject: [ECOS] zcalloc: failed to allocate bytes error - RedBoot
Hi there,
My RedBoot application when trying to write 64 bytes to a file (via
write() call) in the jffs2 partition result in the following message
being printed out.
zcalloc: failed to allocate 0x8000 items of 0x2 bytes == 0x10010 bytes
zcalloc: failed to allocate 0x8000 items of 0x2 bytes == 0x10010 bytes
zcalloc: failed to allocate 0x8000 items of 0x2 bytes == 0x10010 bytes
zcalloc: failed to allocate 0x4000 items of 0x4 bytes == 0x10010 bytes
<4>deflateInit failed
The actual file was created in the jffs2 partition but I am not sure why
this message is appearing.
I have tried writing a smaller amount of data say 10 bytes and it works
ok.
Could any one help?
Regards,
Benny
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss