Sign inConnect your agent
infochanged

Workers, Durable Objects - Track memory usage for Workers and Durable Objects in the dashboard

Announced
Tags
Workers, Durable-Objects
Severity
info, set by reef/rss-rule-v1
Source
https://developers.cloudflare.com/changelog/post/2026-06-30-memory-usage-metrics/

<p>You can now monitor how much memory your <a href="https://developers.cloudflare.com/workers/">Workers</a> and <a href="https://developers.cloudflare.com/durable-objects/">Durable Objects</a> consume across invocations with the new <strong>Memory Usage</strong> chart in the Workers Metrics tab, broken down by P50, P90, P99, and P999 percentiles.</p> <img src="https://developers.cloudflare.com/cdn-cgi/image/onerror=redirect,width=1210,height=782,format=webp/_astro/2026-06-26-memory-usage.B20y2uNp.png" alt="Memory usage chart showing P50, P90, P99, and P999 percentiles with deployment markers" loading="lazy" decoding="async" width="1210" height="782"> <p>Memory usage measures the V8 <a href="https://developers.cloudflare.com/workers/reference/how-workers-works/#isolates">isolate</a> memory at the time of each invocation, subject to the <a href="https://developers.cloudflare.com/workers/platform/limits/#memory">128 MB per-isolate limit</a> — a single isolate can handle many concurrent requests and shares memory across them.</p> <p>Use the Memory Usage chart to:</p> <ul> <li><strong>Track memory trends</strong> — Spot gradual increases that may indicate a memory leak before they cause <code>Exceeded Memory</code> errors.</li> <li><strong>Correlate with deployments</strong> — Deployment markers on the chart help you identify whether a new version introduced a memory regression.</li> <li><strong>Right-size your Worker</strong> — Understand your baseline memory footprint and how much headroom you have before hitting the 128 MB limit.</li> </ul> <p>For Durable Objects, memory usage reflects the in-memory state an object holds (class properties, caches, active WebSocket connections), which persists across invocations until the object is <a href="https://developers.cloudflare.com/durable-objects/concepts/durable-object-lifecycle/">hibernated or evicted</a>. This state is not preserved across eviction, hibernation, or a crash, so persist anything important to <a href="https://developers.cloudflare.com/durable-objects/best-practices/access-durable-objects-storage/">storage</a>.</p> <p>To view memory usage, open the <strong>Metrics</strong> tab for your <a href="https://dash.cloudflare.com/?to=/:account/workers/services/view/:worker/production/metrics" target="_blank" rel="noopener">Worker<span class="external-link"> ↗︎</span></a> or <a href="https://dash.cloudflare.com/?to=/:account/workers/durable-objects" target="_blank" rel="noopener">Durable Object namespace<span class="external-link"> ↗︎</span></a>. For Durable Objects, you can filter by DO ID or name to drill down into memory usage for a specific object. You can also query memory usage programmatically via the <a href="https://developers.cloudflare.com/analytics/graphql-api/tutorials/querying-workers-metrics/">GraphQL Analytics API</a> using the <code>workersInvocationsAdaptive</code> dataset — the <code>quantiles.memoryUsageBytesP50</code> through <code>quantiles.memoryUsageBytesP999</code> fields return percentile values in bytes.</p> <p>For local memory debugging, you can also <a href="https://developers.cloudflare.com/workers/observability/dev-tools/memory-usage/">profile memory with DevTools</a> to take heap snapshots and identify specific objects causing high memory usage.</p>

The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.