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
At my company we experienced tabs crashing due to running out of memory. The root cause is somewhere in svelte, and I was able to create a minimal reproducible example. The memory usage looks like this (over 40 seconds):
Describe the bug
At my company we experienced tabs crashing due to running out of memory. The root cause is somewhere in svelte, and I was able to create a minimal reproducible example. The memory usage looks like this (over 40 seconds):
Reproduction
I have a repo here https://github.com/lassebomh/svelte-leak just in case. Its just the default project from
pnpm create vite@latest .
with unecessary stuff removed and the above code inApp.svelte
.Run the project and open the memory devtools tab. Watch this number:
If
x
is wrapped in a$state
then the memory usage looks like this, leading me to believe it's a legacy only issue:Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: