Cloudflare Stability Performance Cost

Worker exceeding CPU/memory limits (last 24h)

Part of the Workers, Pages & API tokens check · fix arrives as a guide

What it is

A Worker is exceeding its CPU or memory limits.

Why it matters

Exceeding the limit terminates the invocation, so those requests fail. It is also load-correlated: the Worker works under normal traffic and starts failing at exactly the point where traffic matters most.

How to fix it

Profile what is expensive — large JSON parsing, synchronous crypto, and unbounded loops are the usual causes — and move heavy work off the edge to a queue or an origin service.

Run them all on your app

Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.