You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used k6 to run a small load test against my project:
importhttpfrom'k6/http'import{sleep}from'k6'exportconstoptions={stages: [{duration: '20s',target: 100},// simulate ramp-up of traffic from 1 to 100 users over 5 minutes.{duration: '20s',target: 100},// stay at 100 users for 10 minutes{duration: '20s',target: 0},// ramp-down to 0 users],}constBASE_URL='http://localhost:3000'exportdefault()=>{http.get(`${BASE_URL}`)sleep(1)}
Describe the bug
After running the test, about 160 mb of ram get stuck, indicating that something is leaking. After some investigation it appears to be related with the usage of the head composable in combination with a computed value outside of a component context.
This is the relevant code, which is causing the leak:
Environment
Darwin
v16.13.2
3.0.0
1.0.0
yarn@1.22.19
vite
css
,build
,vite
-
-
Reproduction
Clone this minimal starter project:
https://github.com/CodyBontecou/nuxt3-and-vuetify
do a
Then run the build with
Open the devtools and watch the memory tab.
I used k6 to run a small load test against my project:
Describe the bug
After running the test, about 160 mb of ram get stuck, indicating that something is leaking. After some investigation it appears to be related with the usage of the head composable in combination with a computed value outside of a component context.
This is the relevant code, which is causing the leak:
I found this issue which also indicates that this is a problem, but I don't know how i would be able to use vuetify during ssr.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: