I'm trying to compress a set of text files using this library...
I've been running into problems with files that are 32k or larger. I keep getting a Z_MEM_ERROR.
In the manual for the library it doesn't mention the fact that you can't compress anything larger then 32k. Does anyone know if this is a limitation? Or is it something to do with the text file.
It's a ZLib memory allocation issue. What calls are you using to compress your data? Have you considered using a more stream oriented set of calls, rather than using a utility call that processes all the data at once?
-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
