Anyone got a good solution for the bubble editor crashing constantly?

The app editor constantly crashes for me - albeit I am driving it hard.

It crashes after about 3-4 hours of solid work - it crashes because the browser memory gets full and then chrome kills the tab.

Bubble editor is extremely heavy on browser memory - the tabs can often get to several gbs in memory usage. Even on a fresh load they jump up to around 800mbs.

I find bubble crashes most often after I do a lot of:

  • jumping between pages and reuseable elements
  • searching for things
  • copy and pasting

These tasks seem to be very memory heavy and reliably crash the app. Iā€™ve reached out to bubble support several times regarding this and they donā€™t have a solution.

So I put it to you? What do you do to help reduce browser tab crashes from bubble?

FYI - I know it is bubble that is the issue here as my laptop is i9, 32gb ram, 8gb dedicated graphics and a heavy duty gaming laptop with the latest graphics card (RTX).

The only solution Iā€™ve been able to come up with is to purposely force the crash when I find bubble getting slow - I quickly refresh several bubble tabs to force the crash.

3 Likes

Cmd/Ctrl+Shift+R will do a hard refresh that stops you ā€˜forcing it to crashā€™.

3 Likes

You could also try adding the url parameter &issues_off=true

This disables the issue tracker and reduces how much memory Bubble uses.

3 Likes

The only thing that has ever worked for me is turning off hardware acceleration in my Chrome settings.

This means that some apps/sites wonā€™t work such as Figma, but I just pull them up on safari and all is good.

2 Likes

Chrome user (for Bubble at least) here. I find myself reloading the browser every few hours and avoid using the editor in more than one tab.

Itā€™s memory hungry but largely itā€™s ok

1 Like

thanks for the ideas

Iā€™ll try the hard refresh shortcut method. I have tried chrome plugins to do this ā€œautomaticallyā€ every X hours but they donā€™t seem to help much.

An empty cache and hard refresh is part of my Bubble workflow.

Itā€™s just 2 clicks every once in a while so itā€™s a non issue for me.

Not necessarily. Iā€™ve never had the Bubble editor crash EVER. Not once.

Have you tried using a different browser with zero extensions?

I was using bravo browser (chrome based and apparently optimized) but it has the same issues even with no extensions. I only have the issue with bubble editor tab - every other tab is fine and never crashes.

Could you, just for fun, try using a default install of Edge or Firefox? If Bravo is chromium based then it should also happen on Edge but thereā€™s more to browsers than the rendering engine.

I would recommend trying another browser too. I had an issue (Is the Bubble editor crashing when choosing icons for anyone else...?) that was related to a chromium version that Arc was using ā€“ never understood why, but during the next Arc update it was fixed, so it def seemed like a browser issue.

The weird thing was that support tried to replicate even on Arc but couldnā€™t reproduce.

And Iā€™m on a MBP M1 Max 64GB on RAM. I also feel like Chrome in general eats at your RAM

Around 5 years ago, the editor kept crashing for me, until I came to find out that building features as reusable elements and then placing them onto the page makes the editor less likely to crash. I rarely have the editor crash now, and usually if it does it is when bubble is having issues.

2 Likes

If your app is big enough it WILL eventually happen.

This is for a very large app - an enterprise app with a dozen+ micro apps in it. I use reuseables a lot - I have 100-200 in this app plus 50-100 pages. The database is huge and very complex likely more than 1000 fields over 100-200 tables (guestimate).

Recently Iā€™ve been using ā€œclear cacheā€ chrome plugin to hard reset the tabs whenever I notice the editor getting a bit laggy - usually after 2-3 hours of dev. This seems to be working so Iā€™ll keep up with this method.

4 Likes

I was just about to post that Iā€™ve found this plugin to be effective. I activate it every time I change tabs and havenā€™t experienced any editor lag since using it, pretty amazing difference.

1 Like

I run chrome from the command line and override the default tab size and some other params, now it never crashes.

great hack :slight_smile:

Probably not what you want to hear, but the solution is a new laptop with 64GB ramā€¦or moreā€¦sorry.

1 Like

My last laptop had 64gb ram and had the same issue - I checked the logs and it never used more than 30% so when I upgraded my laptop I got a 32gb one and the performance has been the same.

The issue is chrome/bubble not clearing cache in browser (browser cache) not computer ram. Itā€™s an issue in that chrome has a limit on browser cache and bubble continuously hits it.

1 Like

It never crashes on me while using arc. It used to crash all the time on chrome.

2 Likes