Subscribe on changes!

Vue3 (composition api) memory leak

avatar
Mar 14th 2023

Vue version

3.2.47

Link to minimal reproduction

https://github.com/Giridhar108/MemoryLeakVue3

Steps to reproduce

Good afternoon

You need to launch the project using "serve dist"

Open the Performance Monitor tab and the memory tab in the developer tools.

Then you need to switch tabs and go through the table for 2-3 minutes.

What is expected?

Reducing memory consumption

What is actually happening?

We will see a constant memory increase. It does not reset over time. This is production mode.

image

System Info

No response

Any additional comments?

No response

avatar
Mar 14th 2023

There seems to be a lot going on in that reproduction and it includes various other libraries. What makes you think the increasing memory usage is caused by a problem in Vue core?

avatar
Dec 1st 2023

I'll close this as inactive. Please open a new issue if you can provide a boiled-down reproduction.