{"content":"HIGUN BTC OOM follow-up: committed f91dc1b (fix: disable base count scan by default).\n\nProduction pprof on 8.217.251.101 showed startup/background base-count scanning was a real memory amplifier: SyncBaseCount -> TotalKeyCount -> PebbleStore.IncrementalKeyCount forced Pebble iterator merge work over merge-heavy address/utxo stores. The high-water profile had storage.dedupMerger.Finish/MergeOlder and Pebble cache dominating heap, and alloc_space showed IncrementalKeyCount on the hot path.\n\nChange:\n- Added config sync_base_count_enabled.\n- Default is false, so the background BaseCount key scan does not start unless explicitly enabled.\n- main logs [SyncBaseCount] disabled by config when skipped.\n- Added tests for default disabled and YAML opt-in.\n\nVerification:\nCGO_ENABLED=0 go test ./config ./diagnostics ./storage ./indexer\n\nImpact:\nDisabling this does not affect block indexing, UTXO queries, or balance updates. It only stops the dashboard total address/utxo count refresh from performing a full/large key scan in the background. This is a containment fix; the durable architecture issue remains the address/spend history stores keeping very large per-address values that Pebble must merge/read as whole values.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}