Error 1104

Error 1104 Worker Memory Limit Exceeded Error

Category: Cloudflare Errors | Platforms: cloudflare

What This Error Means

Error 1104 indicates that a Cloudflare Worker script attempted to consume more memory (RAM) than is allowed by the platform limits (typically 128MB). When this happens, the worker is terminated immediately.

Common Causes

  • Loading large files or request bodies into memory.
  • Creating massive arrays or objects in the script.
  • Memory leaks in the JavaScript code.
  • Global variables accumulating data across requests (if not handled correctly).

How to Fix It (For Users)

  1. 1 Notify the site owner.
  2. 2 There is no workaround for users.

For Site Owners / Developers

  1. Stream data instead of buffering it entirely in memory.
  2. Reduce the size of variables and objects used in your script.
  3. Check for memory leaks.
  4. Ensure you are not caching large objects in the global scope unnecessarily.

When It Is NOT Your Fault

If the site's backend logic is flawed.

Check if this outage affects everyone globally

This error often indicates a wider problem. Use our tool to verify if the site is down for everyone.

Check Website Status →

Recommended Tool to Prevent This Error

Fix DNS resolution issues and protect your site from DDoS attacks with Cloudflare.

Cloudflare DNS & Security