View Single Post
Old 02-13-2017, 04:49 PM   #13
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,090
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2, Clara BW
Quote:
Originally Posted by Steve_Haley View Post
The other thing that will help is to fully close the app (double tap home button then swipe it away) after transferring each 1000 books. The app performs some maintenance on the database at start-up which will help; this only takes a few seconds to do.

There are two problems happening at the same time: (1) the app used to run out of RAM during book transfers. For me, when transferring 1000 books, the app used to use about 120mb and now it only uses about 50mb. This problem manifested itself by the app abruptly crashing (returning to the home screen of the iPad without notice) during book transfers. This really should happen a lot less now.

(2) the database file itself could get too large. This one hasn't been fixed quite as nicely, since it requires the app to be restarted, as mentioned above. However, it should still help; for me, my database file reached approximately 800mb after transferring 1000 books, and then after restarting, the new maintenance code reduced it down to 50mb. Different devices have different limits, but it seems that if the app is launched with a database of between 2 and 4gb, the database corrupts and gets reset. So it's a bit of a pain, but as long as you restart the app between sending batches of 1000 books, you should be able to get further.

(And yes, figuring out a better way of handling this is still on my list!)
Thanks very much for the advice Steve

Hopefully I'll be able to try this at the weekend when I have a full day to play with hubbys pc.
Josieb1 is offline   Reply With Quote