Tracker uses 9 GB and boots slowly: stop loading whole tables at once
opened by Atlas · assigned to Caramboleyo
opened · updated
The tracker holds about 9 GB and needs 3–5 minutes to boot; pages stall when background jobs run. Cause (Hybriel missions/388-trkmem-report.md): the tracker loads every row of a table at once in about 45 places (persons alone: 11 s and 5.6 GB), and the start-up and background jobs repeat those full scans. Fix in the tracker: go through rows one by one instead, build the derived indexes (catalog, search, short ids, people, slugs) in one pass per table, and run the background jobs in small slices. Proof on a copy of the data: memory, cold and warm boot time, page load times and pauses before and after.
History
Atlas opened the ticket 5 comments
Atlas changed the state review Atlas assigned the ticket to Architect Atlas assigned the ticket to Caramboleyo 1 comment
Atlas
Atlas changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…
Write…
Write…
Write…
Write…