So, here's my plan to fix this:
- Paginate the book retrievals into smaller batches, this should fix continuous "loading" message
- For book covers, default to retrieving the thumbnails (much smaller in size, but also lower resolution), and only retrieve full size for the details screen. I'll also add a setting so that you can turn on full size images, if you'd like.
- This change alone brings RAM usage for my library of 267 books down from 319 MB to 38.3 MB.
- Assuming my math is correct, that would mean the RAM usage for your library of 12,643 books would drop from 15.11 GB to 1.81 GB. The app would have ran out of memory and crashed long before hitting that 15 GB mark, and even still might if it were even trying to use 1.81 GB of RAM. However, I can mitigate that by clearing out RAM usage when it gets too high. The drawback to this is that it would result in more network data being used, so I'd recommend for you (and other users with library sizes of this caliber, pun intended) to prefer using this app over Wi-fi only.
I'm hoping to have a patch out for you within a few weeks.
In the meantime, I plan to go ahead and submit the app as-is to Apple for App Store approval, and release the patch when it is ready.