Memory leak Nuxt 3.11.2
Since upgrading from 3.9 to 3.11.2 I've been seeing a memory leak where even after a few requests from both my laptop and my phone the memory uages jumps up to +-750mb. I've been looking at memory heap snapshots locally but the issue doesn't seem to happen locally (I can get it up to +-50mb after hitting it with 1000 requests using
ab
).
My package.json
file looks like:
I've read everything I can find about memory leaks in Nuxt but none of the posed solutions work for me. I don't use i18n or vuetify and I don't have a loading indicator. The website does have a large number of pages though (it's a recipe website), could that be the issues?
What would be a good way to tackle this issue? Any advice would be appriciated!2 Replies
hard to tell without the whole code and checking it
most likely user code 🙂
Right, the code base is closed source and I'm having trouble recreating the leak. But the reason I came here to ask is that no user code changes have been made. Only the update to 3.11.2. There were a few libs that caused memory leaks for some people such as i18n, vuetify and formkit so I was hoping there was an obvious culprit in my
I'll keep trying recreating it
package.json
.I'll keep trying recreating it