06-26-2022, 10:11 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2022
Device: PW3, PW4, PW5
|
Size limit of metadata.calibre file?
First, thank you to the devs for their hard work on KOReader. I have two jailbroken PW4s, one 6GB and one 32GB. KOReader works great on the 6GB, and is a joy to use.
KOReader on the 32GB also works great until at a certain point - as I add books - the Calibre metadata search feature fails, returning nonsense when I try to browse tags or series. Am I seeing a limit on how large the metadata.calibre file can be? Some numbers: a 81.5 MB metadata.calibre file caused failure on the 32GB just now. However a 26.3 MB sized file on the 6GB works fine. Furthermore, if I copy that file over to the 32GB then the KOReader metadata search works as expected (although those specific books aren't necessarily there of course). |
06-27-2022, 03:52 AM | #2 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Any value there is ok. Currently it is hardcoded to 30MB. Trying to parse very big files on memory constrained devices will lead to out of memory errors. That was the reason of the crap code in the first place |
|
06-27-2022, 10:19 AM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2022
Device: PW3, PW4, PW5
|
Thanks very much for the quick reply. Increasing MAX_JSON_FILESIZE in metadata.lua as suggested got metadata search working again.
If I hit out of memory limits on the PW4 I'll report back here so people using that device can know what to expect. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a file size limit on imported books from Kindle for PC? | MorganAndMerlin | Calibre | 0 | 01-15-2022 07:59 PM |
limit on size of html file? | hobnail | Sigil | 18 | 11-03-2020 02:21 PM |
Touch Is there a maximum epub file size limit? | kefira | Kobo Reader | 7 | 04-12-2015 07:36 PM |
RTF file size limit on the Reader? | Aerlock | Sony Reader | 11 | 02-22-2007 04:01 PM |