| Previous | Next |
| UCEERR_BLOCKSFULL | UCEERR_PACKETRECORDOUTOFRANGE |
UCEERR_MEMORYFAILURE
UCEERR_MEMORYFAILURE is a Windows User Composition Engine (UCE) HRESULT. It indicates that the rendering or composition operation failed because the engine could not obtain needed memory.
What to check for UCEERR_MEMORYFAILURE
- Check process memory usage, virtual-address pressure, and graphics-resource growth before the failure.
- Release large images, visual caches, and unmanaged resources that are no longer required.
- Use a memory dump or profiler to distinguish a leak from a short-lived allocation spike.
Microsoft guidance for WPF render-thread failures
Diagnostic discriminator: Correlate the failure with memory allocation pressure in the UCE/rendering path. This status is allocation failure, not transport overload, handle exhaustion or an invalid graphics resource.
Looking for a different code? Search another status or error code.