Skip to content

v1.1.0 — memory optimization integrated

Choose a tag to compare

@orangeofcarl0-sys orangeofcarl0-sys released this 15 Aug 19:09
· 6 commits to master since this release

What

Integrates the large-session memory config into the plugin:

  • preparedCacheSize (default 1) — runtime-trims the persistence cold-session LRU (default 5 full event trees → 1), evicting oldest ready entries to release ~2.8GB. No manual cordis.patch.yml edit needed.
  • heapWarnBytes (default 6GB) — detects V8 heap limit at startup and warns when below threshold, pointing to the bundled launcher.
  • scripts/start-dsh.ps1 — recommended launcher that starts dsh with --max-old-space-size=8192 (the one thing the plugin can't do in-process, since heap cap is a V8 startup flag).

Why

Large live sessions each hold a ~700MB event tree. Default V8 heap cap (~4GB) OOMs when several are open at once. This release handles the plugin-side part (LRU trim) and ships the launcher + startup warning for the process-side part (heap cap).

Install

dsh plugin --profile web add github:orangeofcarl0-sys/dsh-large-proj-perf

51 tests ALL PASS.