<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AMD ROCm on ErrorVault — Developer Error Code Dictionary</title><link>https://errorvault.dev/platforms/amd-rocm/</link><description>Recent content in AMD ROCm on ErrorVault — Developer Error Code Dictionary</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 14 Apr 2026 14:24:49 +0800</lastBuildDate><atom:link href="https://errorvault.dev/platforms/amd-rocm/feed.xml" rel="self" type="application/rss+xml"/><item><title>Fix clw-gpu-oom: Resolve OpenClaw GPU Out-of-Memory Errors</title><link>https://errorvault.dev/openclaw/openclaw-clw-gpu-oom-gpu-out-of-memory/</link><pubDate>Tue, 14 Apr 2026 14:24:49 +0800</pubDate><guid>https://errorvault.dev/openclaw/openclaw-clw-gpu-oom-gpu-out-of-memory/</guid><description>&lt;h2 id="1-symptoms">1. Symptoms&lt;/h2>
&lt;p>The &lt;code>clw-gpu-oom&lt;/code> error in OpenClaw manifests during GPU resource allocation or kernel dispatch, indicating the graphics processing unit (GPU) has exhausted its video RAM (VRAM). OpenClaw, a lightweight C++ wrapper for OpenCL, throws this exception when &lt;code>clw::Buffer&lt;/code> creation, &lt;code>clw::Image&lt;/code>, or kernel argument binding fails due to insufficient memory.&lt;/p>
&lt;p>Typical symptoms include:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>[OpenClaw Error] clw-gpu-oom: Failed to allocate GPU buffer of size 2147483648 bytes on device &amp;#39;NVIDIA GeForce RTX 3080&amp;#39; (CL_MEM_READ_WRITE). Error code: -4 (CL_MEM_OBJECT_ALLOCATION_FAILURE)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>terminate called after throwing an instance of &amp;#39;clw::Error&amp;#39;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> what(): clw-gpu-oom at /path/to/openclaw/src/clw_buffer.cpp:145
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Aborted (core dumped)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Programs halt abruptly post-compilation, often after successful OpenCL context initialization (&lt;code>clw::Platform&lt;/code>, &lt;code>clw::Device&lt;/code>, &lt;code>clw::Context&lt;/code>). No kernel execution occurs. GPU utilization spikes briefly via tools like &lt;code>nvidia-smi&lt;/code>:&lt;/p></description></item></channel></rss>