Fix OOM in BuildIndexes by processing in chunks (v0.48.6)

- Process events in 200k chunks instead of loading all at once
- Write indexes to disk after each chunk, then free memory
- Call debug.FreeOSMemory() between chunks to release memory to OS
- Memory usage now ~150-200MB per chunk instead of 5GB+

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
woikos
2026-01-06 09:10:50 +01:00
parent d363f5da04
commit 2480be3a73
5 changed files with 355 additions and 10 deletions

View File

@@ -1 +1 @@
v0.48.1
v0.48.6