RAM: retained CPU texture copies overshoot the allowance on big-region teleports (18 GB vs 4 GB) -- size the limit to available memory and evict undriven decoded copies #636
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#636
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened (2026-10-10, measured)
Teleport into a large region not visited in a long time (Canterlot), on a 256 GB machine, build
b475586aaf+ fixes:retainedallowance was 4096 MB, but retention reached 18 GB: denials only stop new decodes (up to ~380 denied/s), and nothing evicts copies that are already decoded.Do
avail - reserve, clamped to something like 512 MB to 4 GB, with the exact numbers justified in the PR. Recompute live as availability changes (other apps, PSI). A user setting can override it. This follows the soft-degrade rule: temporary caps, settings untouched.RAM:line gets allowance (and how it was derived), retained, evicted-undriven MB/count and re-decodes, plus the peak per teleport/login in MemTimeline.Done when
systemd-run -p MemoryMax=), a big-region teleport completes without OOM.Related: #262 (transient peak during login/teleport, closed), #159 (CPU texture copies), #405 (RAM/VRAM epic), #585, #389.