I’m having an issue lately with the Editor, where it consumes huge amounts of memory (1-2 GB). Memory use is now easily viewed on Chrome with recent changes to their UI where it displays the memory usage when hovering over the tab title.
If I leave the editor alone for 30+min, the memory consumption usually comes down to about 500MB. If I keep working with the editor, it will eventually crash.
The live version of my site does not have the same memory issues.
The editor is far more memory intensive than a published app will be. My observation is that the full list of components on a page are kept in memory and really expand. We had a member on state change who had to re-architect a page with lots of hidden components because the weweb editor just keeled over.
Plus javascript (and by extension the browser) is not awesome at memory management - it’s a tough fit for this kind of intensive application.
A few things can help on the margin:
Disable extensions. Extensions can take up memory and cause a lot of overhead, especially with complex applications. I just saw this tip for another no-code editor, and they were right!
Use a different browser. This mainly helps because usually the new browser doesn’t have extensions installed. Otherwise chromium browsers are pretty similar.
Restart your page with some frequency. I mean just refreshing by pressing F5 or control-r. This resets the memory management.
Buy a bigger computer. Mainly more memory. This is not an awesome solution but it can help!
And finally, I’ll note that the weweb people pay attention to these forums and improve the software cleanup, so I would expect this problem to get better on the margin. Of course, you’ll add more features, which will put more pressure on the computer, so it’s a dynamic system.
Yeah, published projects run smooooth, it’s the Editor going nuts, I find myself refreshing the window after some time, cuz it’s like 1,5 GB (I’m on a MacBook Pro M1 with 32GB of RAM)
Yep, we’re aware of the issue and taking steps to fix it. For now, the most straightforward solution I’m aware of is #3 in Ray’s list: refreshing your page fairly regularly. I know, not ideal when you’re in the flow Sorry for the inconvenience!
And as a couple of you mentioned, I can confirm that these memory leaks are limited to the Editor. Your live apps won’t be affected.
Thanks for all the feedback and ideas for workarounds. It’s nice to know I’m not the only one!
I’m not finding this works, unless I do a HARD refresh (this will bring the memory use down somewhat), but a hard refresh and reset Cache, brings it down to a manageable level for an hour or two before the machine is bogged down again.
Not ideal when in the flow, so I’m hoping for a fix sooner than later! Thanks again.
Just seeing their editor and this UI of them should be a signal
Look Wix Studio has evolved and is actually pretty solid ( got a chance to have an access )
@aurelie@Alexis are there any plans/timelines about when this is gonna be handled? Now as of recent I’m finding myself with unusable editor after a few minutes, and my project is like two pages really.
Hey @Joyce, We are also facing this issue, our project freezes as soon as we open our weweb project page, and then if we reload it pops up with “out of memory” issue. So can you pls look in our project?
Our workspace is “Investmos” on weweb and our project name is “Investport”.
Actually, just yesterday I found a weird bug on one of my old projects, it made the whole page unusable and it was causing many errors in WeWeb. I’d check the console if I was you.