Skip to content

TL-894: free 1Password SDK memory after boot - #11

Merged
Keloran merged 1 commit into
mainfrom
perf/free-1password-memory
Nov 13, 2026
Merged

Keloran merged 1 commit into
mainfrom
perf/free-1password-memory

Conversation

@Keloran

@Keloran Keloran commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

After onepassword.Load, call debug.FreeOSMemory(). The 1Password SDK runs a WASM engine at boot that leaves ~100 MB of garbage Go keeps resident; measured 172 MB → 78 MB RSS in a test program. Railway bills memory, which is most of the monthly cost.

Tests: go vet + go test ./... pass.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Keloran
Keloran force-pushed the perf/free-1password-memory branch from de8461a to 6ffef72 Compare November 13, 2026 23:16
@Keloran
Keloran merged commit d5c8cd8 into main Nov 13, 2026
3 checks passed
@Keloran
Keloran deleted the perf/free-1password-memory branch November 13, 2026 23:18
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