Memory limit would be exceeded before EOF

Error · workers

Reviewed 2026-10-25 · against the official Cloudflare pricing pages listed under Sources

A Worker tried to buffer a body that does not fit in 128 MB.

Free plan

The limits page names the runtime error `Memory limit would be exceeded before EOF`.

The isolate is still 128 MB.

What it means

Stream the body instead of buffering it. Exceeded memory is also visible as error 1102.

What it does to a bill

This is not a memory surcharge. Workers do not bill RAM by the GB.

Sources