Memory Usage Issue in Bolt.diy Leading to Crashes – How to Scale for Multiple Users?

I’ve been using Bolt.diy for extended periods, and I’ve noticed that its memory usage gradually increases, eventually causing the application to crash. How we can effectively scale it for multiple users after deployment.

Has anyone else faced this issue? How can I optimize memory usage and ensure stability?

Also, how does Bolt.new handle memory management and scaling for a large user base?

Hi @rajputanakshay1,
are you already on the new release 1.0 and still got the issues? There were a lot of performance improvements by the team and they continue fixing stuff, but with the new release it should be better.

I dont know how bolt.new does it, but I guess @xKevIsDev does :slight_smile:

@xKevIsDev Any thought/suggestion on this. Have you done a memory profiling on bolt ? Does Bolt have any known memory leak issues?

Note: I am already on latest version of bolt

Which browser are you experiencing this in?

Yes we have ran memory profiling and the results show no memory leaks or excessive usage of memory.

Do you have any more information on what performance issues exactly you are facing ?

Hi, I am using Chrome.
After longer chats/conversation, Browser memory goes up to 8-9 GB that leads to crash the browser.

System/JsArrayBuffer and string size keeps increasing with each user prompt.

Is it expected to be like this ?

This here shows a 408 MB Js heap which is acceptable for an app of this extent as its essentially running a entire dev server in the browser. Where are you seeing 8-9GB memory usage?

When using this deployed version here do you experience the same issues ?