Support spilling
This commit is contained in:
parent
3dd5cde626
commit
8d0ecdab19
18 changed files with 150 additions and 65 deletions
|
|
@ -33,6 +33,12 @@ services:
|
|||
# Fallback only — the binary uses jemalloc as its global allocator
|
||||
# (tuned via a baked-in malloc_conf). Caps glibc to 2 arenas.
|
||||
MALLOC_ARENA_MAX: "2"
|
||||
# Dev only: spill the large property arrays (feature matrix +
|
||||
# address-search index, ~4GB) to disk and memory-map them read-only
|
||||
# instead of holding them in RAM, so a low-memory box can run the full
|
||||
# dataset. Points at the `target` volume (real disk, not host-synced,
|
||||
# not tmpfs). Comment out to keep everything resident (prod behaviour).
|
||||
SPILL_DIR: /app/server-rs/target/spill
|
||||
POCKETBASE_URL: http://pocketbase:8090
|
||||
POCKETBASE_ADMIN_EMAIL: *pb-email
|
||||
POCKETBASE_ADMIN_PASSWORD: *pb-password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue