Pipeline library: a save the host has no memory for waits for a later one instead of aborting the process #1678
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1678
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1678"
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?
@101Leafy on GitHub · 2026-11-28 23:21 UTC · original
101Leafy:nv/library-save-nomem→main· +37 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTCA library save asks for one buffer the size of the whole library, about 1.7 GB on NVIDIA. When the host could not give it, the allocation aborted the process ("memory allocation of ... bytes failed"). Now the buffer is reserved with
try_reserve_exact; if that fails the save returns an out-of-memory error, the pipelines stay added, and a later save writes them.No switch: with enough memory nothing changes. A refused save shows as the usual failed-save warning in the log instead of a crash. Test:
a_save_buffer_the_host_cannot_give_is_refused.5d93fdea28to63be24fbfb