Subscribe on changes!

renderToString memory leak

avatar
Dec 2nd 2022

Vue version

3.2.41

Link to minimal reproduction

none

Steps to reproduce

Every 10ms uses a different data request renderToString, for a total of 12000 requests.

What is expected?

The use of heap memory is expected to remain around 100MB.

105MB

The picture above is the state without renderToString

OR

The memory used by renderToString can be freed by GC.

What is actually happening?

renderToString used 800MB memory and cannot be freed.

800MB

System Info

Node v16.15.0

Any additional comments?

No response

avatar
Dec 2nd 2022

Closing as reproduction is missing.