![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jan 2012
Device: Kindle Fire
|
Max OPF filesize (can smaller text files be counter productive)
I've split up very large text files into smaller ones in the 750K range to improve reader performance.
The source text is formatted in such a way that if I chose to, I could split text files to as small as 2point5 K. If I split down to the 2.5K text file size, my typical EPUB of 7 MB, would have approixmately 2800 file entries in the OPF. I don't know how large that OPF would be.. but it would be huge. Overall question: can splitting text files into smaller text files be done to the point of be counter-productive? That is: too many, too small files. Is there a size limit on the OPF? |
![]() |
![]() |
![]() |
#2 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
The point at which some older readers choke on file size is above about 260k.
It is convenient and useful to simply use chapters as sections, so long as they are below 260k. If you have endnotes or links within a chapter, having to jump out contributes to more overhead, so that would be another reason to keep them at about that size. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
That limit of 260k is not for the OPF, but for the XHTML though.
|
![]() |
![]() |
![]() |
#4 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
I know that my aging PRS-300 struggles with really large toc.ncx files, (after about 20 seconds it just resets), but I don't know if would do the same with the OPF. If you care to post an ePub, (respecting copyright), with 2.5K files and a huge OPF then I'll certainly test it and let you know what happens. ![]() In any case, as mrmikel says, it make good sense to split a book into chapters and sections. Last edited by Agama; 05-16-2013 at 07:43 AM. |
|
![]() |
![]() |
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
I've now tried it and on my PRS-300 it is much slower than a more typical ePub. An ePub usually opens in about 1 second whereas this one takes nearly 10 seconds. It is also much slower paging through it.
So it certainly looks like too many small xhtml files and a corresponding large opf can be bad for performance. I expect newer readers would have less trouble since they are likely to be more powerful than my old Sony. |
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,012
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#8 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
No single HTML file exceeds 260K. ![]() ![]() |
|
![]() |
![]() |
![]() |
Tags |
epub, file size, opf |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I made my .opf file w/ Text Wranger; could that be a problem? | petercrowell | Kindle Formats | 14 | 05-02-2012 04:00 PM |
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? | DHahn | Kindle Formats | 3 | 04-17-2012 04:06 AM |
How to make text "darker" and a bit smaller in conversions to LRF? | Teddman | LRF | 2 | 02-10-2010 06:04 PM |
Way to make font smaller in converted Lit files? | MidknytOwl | Sony Reader | 3 | 06-16-2008 08:47 AM |
Mobigen filesize smaller when using Mobigen instead of Creator? | pvdv | Kindle Formats | 3 | 03-06-2008 02:28 PM |