I have, what I think, is a large application for Bubble – it’s over 400k lines of JSON (8.4 MB when downloaded). Whenever I attempt to run the “optimize application” feature it always hangs for a while and then crashes. Even if I select only one or two items to delete. Has anyone experienced this? If so have you remedied the problem?
Optimize runs locally in your browser. Use a fresh Chrome profile and no other tabs so you don’t have the Chrome bloat of extensions etc to give you the best chance of success.
hey there @lindsay_knowcode - thank you for the suggestion! Much appreciated. I gave it a go, fresh Chrome profile and a reboot of my mac, but still ran into the crashing issue. :-/ I’ll keep at it.
@rico.trevisan - Excited to try this! When I run find-unused-endpoints.sh tables.bubble I get an empty result set returned.
bin % zsh find-unused-endpoints.sh tables.bubble
ID Type Name
I’ve also noticed that when I download my .bubble file, it is no longer in JSON format. Just a single line of text (8.25 million characters long). Is that what your application is expecting?
Our export is currently 29.5mb, enough text to make any text editor slow. I’m afraid to try to optimize for fear of irreversible damage. The design of bubble wasn’t meant to handle large applications. But with so much time invested, It’s like carrying a ball and chain. Would take a team of engineers to replace it. Or maybe one good AI agent