Apps in prod crashing due to memory consumption

Hey guys,
so the problem that we’re facing, is that for 2 apps that we developed for the clients have been crashing due to high memory consumption. (>1.5GB)

This is quite frustrating, because in both cases we do not have any custom coded components (so memory leaks do not come from there)

We’re always using conditional rendering to display/hide sections. (so I would assume the memory should be cleaned after the components are un-mounted)

Out of those who experienced this, are you aware of any components that has memory leaks?
One particular app is specific to have really high amount of input fields (it’s really form-heavy)
But again, I guess you shouldn’t have memory leaks just because you’ve rendered 50 form fields. (we have general “form field” component that has type as property. So inside we have 10 inputs that are conditionally rendered based on type)

When I navigate to blank page (that only has sidebar) nothing happens with memory, it stays at 2GB

So my question, are you aware of any WW components that are know to have memory leaks?

1 Like

Hey Juraj :waving_hand:,

thanks a lot for the detailed breakdown;

I’ll check in with our tech team to see if there are any known issues related to memory leaks in specific components or patterns like yours. We’ll follow up here once we have more information;

In the meantime, if you haven’t already, feel free to send the project link to support via the WeWeb Dashboard chat, it can help us investigate the specific case faster.

Appreciate you flagging this.