You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received a PM on MobileRead about a book (William Shakespeare Complete Works published by Modern Library) which was way bigger than anything I've seen before and causes kepubify to run out of memory during conversion.
The text was updated successfully, but these errors were encountered:
This is only reproducible for me on devices with less than 4GB of available memory. Based on pprof, the memory issue seems to be due to regexps and something to do with the span adding.
The refactor I'm working on right now should fix this issue and greatly improve performance. One of the biggest changes in this area is optimizing the span adding by decreasing the number of memory allocations, streamlining the logic, and using a stack-based algorithm rather than recursion.
I received a PM on MobileRead about a book (William Shakespeare Complete Works published by Modern Library) which was way bigger than anything I've seen before and causes kepubify to run out of memory during conversion.
The text was updated successfully, but these errors were encountered: