Nuxt 3: SSR computed()
memory leak, because the isInSSRComponentSetup
variable is set to false
on the server
#15095
Labels
Environment
Linux
v16.15.0
3.0.0-rc.11
0.5.4
npm@8.5.5
vite
-
-
-
Reproduction
Then run with debugger, and step into
computed()
function, you will see theisInSSRComponentSetup
variable is set tofalse
on the server.Describe the bug
Nuxt 3 SSR is not setting the
isInSSRComponentSetup
variable totrue
on the server, that used in thecomputed()
function, see:Temporary fix
Additional context
Memory consumption
Production build of an application, 60 requests per second, 10 minutes of load (36 000 requests).
Before fixes
After fixes
Includes fix from #15093.
Memory difference
Flame graph
Table
Logs
No response
The text was updated successfully, but these errors were encountered: