Skip to content

docs(memory-soak): record the 14-day soak result - #614

Open
tieubao wants to merge 1 commit into
developfrom
docs/memory-soak-result
Open

tieubao wants to merge 1 commit into
developfrom
docs/memory-soak-result

Conversation

@tieubao

@tieubao tieubao commented Dec 1, 2026

Copy link
Copy Markdown
Contributor
  • Verdict: partly: the High memory footprint after long uptime: heap breakdown & source code locations #386 leak is fixed, and the soak found two new memory findings on 1.13.4 with cause unknown.
  • Proof: scripts/memory-soak/summarize on the 341 hourly samples; 1.13.0 is the control that shows the old leak, 1.13.2 the control that shows the fix (result).
  • Risk: none known; docs only, one revert undoes it.
  • Needs Han: read the result, then merge or say what to change.

What and why

The 14-day memory soak on the Mac mini ended 2026-11-30. This records its result in docs/verification/memory-soak-result.md and updates the "24h memory dogfood, #361 / #386" line in docs/BACKLOG.md.

  • The High memory footprint after long uptime: heap breakdown & source code locations #386 leak is fixed: 1.13.0 grew about 7 MB and 69,000 malloc nodes a day; 1.13.2 stayed flat for 3.6 days.
  • 1.13.4 rose about 2 MB a day in its two longest clean runs (2.3 days and 1.25 days). Cause unknown.
  • One 1.13.4 run jumped from 19 MB to 152 MB inside one hour (peak 303 MB) and held it for 15 hours. The system log shows four minutes of use of the app's own windows in that hour. Cause unknown.
  • No run passed 3.6 days, so weeks of uptime stay untested.

The result file names one check for each unknown. This PR changes no code and opens no issue.

How it was tested

Docs only. Numbers come from scripts/memory-soak/summarize on ~/Library/Logs/hiddenbar-memory-soak.log (345 lines, 341 samples) and from log show for the app on 2026-11-26 14:00 to 15:02. The new file sits under docs/verification/, which the repo ignores except images, so it was added with git add -f, like memory-soak-heartbeat.md beside it.

UI proof

  • This PR changes something users see, and the proof is above
  • This PR changes nothing users see

The #386 leak is fixed: 1.13.0 grew about 7 MB a day and 1.13.2 stayed flat. On 1.13.4 the soak found a slow rise of about 2 MB a day and one jump to 152 MB inside an hour, cause unknown for both. No run passed 3.6 days.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant