Xteink-X4-crosspoint-reader/lib/Epub/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
..
blocks Use sane smaller data types for data in section.bin (#188) 2025-12-31 13:11:36 +11:00
hyphenation feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
parsers feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
BookMetadataCache.cpp fix: prevent OOM crash when loading large EPUBs (2000+ chapters) 2026-01-20 12:34:51 -08:00
BookMetadataCache.h feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
Page.cpp Use sane smaller data types for data in section.bin (#188) 2025-12-31 13:11:36 +11:00
Page.h Add exFAT support (#150) 2025-12-30 16:09:30 +11:00
ParsedText.cpp feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
ParsedText.h feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
Section.cpp feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
Section.h feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00