Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The GPUOutOfMemoryError
interface of the WebGPU API describes an out-of-memory (oom) error indicating that there was not enough free memory to complete the requested operation.
It represents one of the types of errors surfaced by GPUDevice.popErrorScope
and the uncapturederror
event.
Out-of-memory errors should be relatively rare in a well-behaved app but are less predictable than GPUValidationError
s. This is because they are dependent on the device your app is running on as well as other apps that are using GPU resources at the time.