开发者

Memory error when trying to read a 90 MB EPUB file

开发者 https://www.devze.com 2023-04-12 03:25 出处:网络
I was trying to read epub file stored in sdcard using epub library. The epub file size was开发者_开发技巧 90 MB. When I run this application it gives an error \"out of memory\".

I was trying to read epub file stored in sdcard using epub library. The epub file size was开发者_开发技巧 90 MB. When I run this application it gives an error "out of memory".

Does anybody have an idea/suggestion/solution how to solve this?


You might want to open up the file in an archive manager like 7-zip, and take a look at the individual file sizes. Some e-book readers (like Sony's) have size limits on the individual .xhtml files in the .epub archive - we've been splitting ours out into about 100KB uncompressed each.

If you do find that the xhtml files inside the .epub archive are too large, you can use a tool like Calibre to split the file into smaller bits.

0

精彩评论

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