Critical Memory Usage

Hello All :wave:

First of all I started with the EZ-PZ Cloudflare Pages tutorial and it worked until my project got so large and then it started failing to deploy so I moved it to a box with 16GB RAM & 8× CPU Cores but in my Settings it always says I have 4GB RAM available with a 300-something meg heap size…

I’ve tried exporting max-old-space-size to console…
I’ve tried adding it as an option to pnpm…
I’ve tried modifying the package.json to use the max-old-space-size option when doing the dev run…

I’m experiencing Critical Memory Usage and Low Frame Rate errors and I’m unable to use Performance Mode.

How may I optimize my build?

Best Regards,
economyofdreams

Hi @economyofdreams,
we are aware of performance problems of bolt.diy. @xKevIsDev and @private.winters.bf3 are working on that. At the moment we are on updating to the newest AI-SDK Version of Vercel, which might help, but it also brings new features like MCP support.

If the problems still exist then, we investigate further. But you are a good candidate then to test it out as soon as there is a more stable PR :slight_smile: