This is the mail archive of the ecos-discuss@sourceware.org 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]

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


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