© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
R2 file processing inconsistent behaviour - Cloudflare Developers
CD
Cloudflare Developers
•
3y ago
•
6 replies
duch
R2 file processing inconsistent behaviour
Hi
,
I have a worker that fetches a file from R2 and then processes it
.
I
'm looking to find the biggest file size that I can process in reasonable time on workers platform
.
The worker takes r2 path as parameter in the url
. The files I
'm testing with are
:
- 1
, 10
, 15
, 20
, 25
, 50 MB
(each file is tested in separate request
)
When I start testing using increasing size order it works up to 25 MB then it fails on 50MB with CPU time exceeded
(that
's ok
)
.
If I go back to test 25MB or even 1MB I
'm still getting Error 1102 Worker exceeded resource limits
. Why
? It was working before
.
The environment didn
't change and I
'm processing the file exactly the same way
. Currently I
'm on Workers Free plan
- does it matter
?
Just to be clear how to reproduce
- requests order
:
https://xxx.workers.dev/?f=file10mb
(OK
)
https://xxx.workers.dev/?f=file25mb
(OK
)
https://xxx.workers.dev/?f=file50mb
(FAILS Error 1102 Worker exceeded resource limits
)
https://xxx.workers.dev/?f=file25mb
(FAILS Error 1102 Worker exceeded resource limits
)
https://xxx.workers.dev/?f=file10mb
(FAILS Error 1102 Worker exceeded resource limits
)
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
87,353
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Upload file to R2
CD
Cloudflare Developers / workers-and-pages-help
10mo ago
Removing audio from R2 mp4 file
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Worker vitest push test file to R2
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Add file to R2 to test against
CD
Cloudflare Developers / workers-and-pages-help
2y ago