Xteink-X4-crosspoint-reader/lib/Epub
Daniel 5f34388143 fix: prevent OOM crash when loading large EPUBs (2000+ chapters)
Remove the call to loadAllFileStatSlims() which pre-loads all ZIP central
directory entries into memory. For EPUBs with 2000+ chapters (like webnovels),
this exhausts the ESP32-C3's ~380KB RAM and causes abort().

The existing loadFileStatSlim() function already handles individual lookups
by scanning the central directory per-file when the cache is empty. This is
O(n*m) instead of O(n), but prevents memory exhaustion.

Fixes #134
2026-01-20 12:34:51 -08:00
..
Epub fix: prevent OOM crash when loading large EPUBs (2000+ chapters) 2026-01-20 12:34:51 -08:00
Epub.cpp feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
Epub.h feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00