mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-10 11:27:11 +02:00
The PGlite fork stubs MemoryContextResetAndDeleteChildren, which PostgreSQL 17 removed, as an empty macro, so MessageContext was never reset and each statement leaked its parse and plan state (about 10 KB). On a real library the process grew to 15 GB during the first scan and the host swapped itself to a crawl. The new build maps the macro to MemoryContextReset (message_context_reset.diff); memory now stays flat across thousands of statements. Adds PGlite.MemorySize for measuring. |
||
|---|---|---|
| .. | ||
| migrations | ||
| pglite | ||
| backup.go | ||
| backup_test.go | ||
| db.go | ||
| db_test.go | ||
| export_test.go | ||
| optimize.go | ||
| optimize_test.go | ||