![]() |
#1 |
thinking thing
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 29556
Join Date: Jul 2010
Device: xx
|
Problem with large book
I have problems with an e-book freezing my kindle occationally when turning a page or going to a page via the search (it is a kindle dx grey).
It is a very large (72 MB) ePub file converted using MobiPocket. It is based on a html file that is 11,5 MB in size. It has many images linked to it. The largest image is 610 Kb and 600 x 600 px. This image displays without problems. Mobipocket reader display only a few insignificant errors when done compiling. The HTML code has been checked my an HTML validator, where I have eliminated all errors. There are some warnings (256) but, I think only minor. What can produce this type of error, anyone has experience of a book this big? |
![]() |
![]() |
![]() |
#2 |
thinking thing
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 29556
Join Date: Jul 2010
Device: xx
|
Update
The problem seams to be with the code. I have tried to remove all the pictures and the error still presists. I have managed to recreate the error by searching a term then going to a place I know the problem will occur. The 11MB file compresses down to about 5MB in mobi when there is no pictures. I will try to use callibre instead for creating the ePub, to see if that will remove the freezes. The ePub displays nicely in Mobipocket reader with no problems.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The size of a Mobipocket book really shouldn't matter - only the current page is held in memory. It sounds as if there's an issue with the HTML code used to create the book.
|
![]() |
![]() |
![]() |
#4 |
thinking thing
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 29556
Join Date: Jul 2010
Device: xx
|
Callibre made no difference.
The HTML code underneath will sometimes make the kindle freeze when browsing. It will freeze around the tag <h4>PROBLEM</h4>. If searching for Problem and going to the location the kindle will freeze. I can't see whats wrong with the code, but its prett certantly something with the tables, because removing them eliminates the freezing. Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Title</title> <link rel="stylesheet" type="text/css" href="style_any.css"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <h5>Systemic Associations</h5> <p>Text goes here.</p> <h5>Pathology</h5> <p>Text goes here.</p> <h5>Treatment</h5> <p>Text goes here.</p> <h4>HEADING 4</h4> <p>Text is here.</p> <div> <table> <tr> <td><img src="f044-5gr12.jpg" alt="#########"><br></td> </tr> <tr> <td><img src="images/blank.gif" width="1" height="10" border="0" alt="#########"></td> </tr> <tr> <td> <p>Fig. 4-20 <span class="figure-caption"><b>Fig text. </b> Additional fig text..</span></p> </td> <td><img src="images/blank.gif" width="10" height="1" border="0" alt="#########"></td> </tr> </table> </div> <br> <h4>Heading</h4> <p>Text is here.</p> <h4>HEDING 4</h4> <p>Text is here.</p> <h4>HEADING 4</h4> <h5>Epidemiology and Pathogenesis</h5> <p>Text here</p> <h5>Manifestations</h5> <p>Text here.</p> <h5>Differential Diagnosis</h5> <p>Text here</p> <h5>Pathology</h5> <p>Text here<sup></sup></p> <h5>Treatment</h5> <p>Text here</p> <h4>REFERENCES</h4> Text here <br> <hr> <h2>Chapter 4 heading</h2> <b>Authors</b><b></b> <table cellpadding="4" cellspacing="0" style="border: 1px solid black;"> <tr> <td><b>Definition:</b> Text here</td> </tr> </table> <table cellpadding="4" cellspacing="0" style="border: 1px solid black;"> <tr class="row"> <td> <table> <tr> <td><big>Key feature</big></td> </tr> </table> </td> </tr> <tr> <td> <table> <tr> <td> </td> <td><b>•</b> </td> <td>Point</td> </tr> </table> </td> </tr> </table> <table> <tr> <td> <table> <tr> <td><big>Associated feature</big></td> </tr> </table> </td> </tr> <tr> <td> <table> <tr> <td> </td> <td><b>•</b> </td> <td>Point.</td> </tr> </table> </td> </tr> </table> <h4>INTRODUCTION</h4> <p>Text here</p> <h4>PROBLEM</h4> <h4>INTRODUCTION</h4> <p>Text is here</p> <h4>EPIDEMIOLOGY AND PATHOGENESIS</h4> <p>Text is here.</p> <p>Text is here.</p> <p>Text is here.</p> <h4>OCULAR MANIFESTATIONS</h4> <p>Text is here.</p> <div> <table> <tr> <td><img src="f045-7gr1.jpg" alt="#########"><br></td> </tr> <tr> <td><img src="images/blank.gif" width="1" height="10" border="0" alt="#########"></td> </tr> <tr> <td> <p>Fig. 4-21 <span class="figure-caption"><b>Fig text</b>. Note blablabla.</span></p> </td> <td><img src="images/blank.gif" width="10" height="1" border="0" alt="#########"></td> </tr> </table> </div> <br> <p>Text is here.</p> <p>Text is here.</p> <p>Text is here.</p> <h4>DIAGNOSIS AND ANCILLARY TESTING</h4> <p>Text is here.</p> <div> <table> <tr> <td><img src="f045-7gr2.jpg" alt="#########"><br></td> </tr> <tr> <td><img src="images/blank.gif" width="1" height="10" border="0" alt="#########"></td> </tr> <tr> <td> <p>Fig. 4-21-2 <span class="figure-caption"><b>Fig text</b>. Add fig text </span></p> </td> <td><img src="images/blank.gif" width="10" height="1" border="0" alt="#########"></td> </tr> </table> </div> <br> <h4>DIFFERENTIAL DIAGNOSIS</h4> <p>Text is here.</p> <h4>PATHOLOGY</h4> <p>Text is here.</p> <div> <table> <tr> <td><img src="f045-7gr3.jpg" alt="#########"><br></td> </tr> <tr> <td><img src="images/blank.gif" width="1" height="10" border="0" alt="#########"></td> </tr> <tr> <td> <p>Fig. 4-21 <span class="figure-caption"><b>Fig text. </b> (Fig text</span></p> </td> <td><img src="images/blank.gif" width="10" height="1" border="0" alt="#########"></td> </tr> </table> </div> <br> <br> <h4>TREATMENT</h4> <p>Text is here.</p> <h4>COURSE AND OUTCOME</h4> <p>Text is here.</p> <h4>CONGENITAL DYSTROPHY</h4> <h4>INTRODUCTION</h4> <p>Text is here.</p> <h4>EPIDEMIOLOGY AND PATHOGENESIS</h4> <p>Text is here.</p> <p>Text is here.</p> <h4>MANIFESTATIONS</h4> <p>Text is here.</p> <p>Text is here.</p> <h4>DIAGNOSIS</h4> <p>Text is here.</p> <h4>DIFFERENTIAL DIAGNOSIS</h4> <p>Text is here.</p> <h4>PATHOLOGY</h4> <p>Text is here.</p> <h4>TREATMENT</h4> <p>Text is here.</p> <p>Text is here.</p> <h4>COURSE AND OUTCOME</h4> </body> </html> Last edited by Koko; 08-27-2011 at 05:01 PM. |
![]() |
![]() |
![]() |
#5 |
thinking thing
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 29556
Join Date: Jul 2010
Device: xx
|
Found it! Mobi dosn't support a table inside a table. More info found here: http://www.mobipocket.com/dev/articl...ile=tables.htm
Man, i have used weeks on this! Anyone who has converted a table inside a table to one table and making it look okay? PS: also <thead> and <tbody> tags within table tags makes your kindle freeze. Last edited by Koko; 09-02-2011 at 01:22 AM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem converting large mobi book to epub | maximus83 | Calibre | 8 | 01-03-2011 05:46 PM |
Problem converting large PDFs to EPUB | rmolina4819 | Calibre | 0 | 12-30-2009 03:36 PM |
6.11 problem with adding large book collection | acekyoto | Calibre | 25 | 10-01-2009 12:25 PM |
Problem with BookDesigner on large book | Megatron-UK | Sony Reader | 6 | 04-07-2008 02:52 PM |