02-Jul-2026 — perf+fix(server+admin): memory economies, restart reporting when session is lost, CSV d... #304

build 727commit 50f784d


What's new

Forensic memory work driven by a production site hovering at 89% of its 259MB heap limit, plus two small fixes from production testing. The server was paying for admin-only features on every boot: playwright (28MB), jsdom (29MB) and xlsx (13MB) all loaded eagerly even though they are only used for static-site migration, document conversion and member bulk load. They now load on first use, cutting roughly 70MB from the boot baseline of every machine. The area-map GeoJSON caches, which could hold up to three 50MB copies of the full-UK district file forever after a single admin visit to area configuration, now evict after 10 minutes idle and share one parse instead of two. The machine restart button no longer misreports a successful restart as a failure when the login session does not survive the restart, and a CSV exported from the walk export page can now be re-imported through the walk import page without date errors.

At a glance

Technical changes