Skip to content

docs: document SQLite cache budget and glibc arena cap - #17

Merged
everpcpc merged 2 commits into
mainfrom
docs/sqlite-memory-defaults
Oct 3, 2026
Merged

everpcpc merged 2 commits into
mainfrom
docs/sqlite-memory-defaults

Conversation

@everpcpc

@everpcpc everpcpc commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Documentation for kmworks/kmrs#133 and kmworks/kmrs#134.

  • configuration.mdx: the default cache_size behavior — a 16 MiB page-cache budget per database divided evenly between its connections (512..2048 KiB clamp) — and how to pin a per-connection value in [database.pragmas].
  • enhancements/index.mdx: behavior-difference entry covering the cache budget and the M_ARENA_MAX=2 glibc arena cap (env-overridable), versus the Java version which pins neither.
  • search.mdx: t2s conversion is now longest-match over the vendored OpenCC tables; no more opencc-jieba-rs mention.

Verify chain passes: pnpm typecheck, pnpm lint:docs, pnpm exec nimbus-docs check, pnpm build.

@everpcpc
everpcpc marked this pull request as ready for review October 3, 2026 04:37
@everpcpc
everpcpc merged commit a818bb3 into main Oct 3, 2026
1 check passed
@everpcpc
everpcpc deleted the docs/sqlite-memory-defaults branch October 3, 2026 04:38
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