开发者

Maximum size of zipped file to unzip in iphone sdk?

I have one zip file that i want unzip .the size of this file is 70 MB. but application is crash when i unzip file. its run fine for 40 MB file. wh开发者_开发百科at i can do to unzip 70 MB file ?


Is the application crashing due to running out of memory, or are you unzipping the file on your main thread - with the larger zip file taking longer, thus blocking your app for too long? The OS will terminate your app if it doesn't respond within 5 seconds.

Most unzip libraries will buffer the zip output in small sections and write to disk many times, so shouldn't take up too much in way of RAM.

If you haven't done so already, I would perform the unzipping on a secondary thread and see if that helps at all.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜