© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
6 replies
Nomad-Talent

Build failed on Cloudflare Pages.

Hello everyone. I have a cloudflare page which watches the github repository and deploy the changes once the PR is created.
I got heap out of memory issue once I've added some addtional features to my code.
To handle this problem, I've increased memory usage by using the following command.
NODE_OPTIONS="--max-old-space-size=7680"
NODE_OPTIONS="--max-old-space-size=7680"

The problem is, I get memory exceed error from Cloudflare build after adding the above command.
Is it possible to increase the memory limit of Cloudflare pages?
Or can I move the building step out of the Cloudflare pages?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Cloudflare Pages build error
Cloudflare DevelopersCDCloudflare Developers / pages-help
13mo ago
cloudflare pages deployment failed
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago
Cloudflare pages build/bundling issue
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
TypeError: fetch failed during Pages Build
Cloudflare DevelopersCDCloudflare Developers / pages-help
16mo ago