Skip to content

Out of memory #2096

@cschot

Description

@cschot

Describe the bug

Out of memory error in Google Chrome 148.0.7778.96 on Windows 11 x64.
The tab consumes about 5.2 GB according to Chrome.
If I run the program locally, it consumes 270 MB

Link to the blitz that caused the error

https://stackblitz.com/github/reown-com/appkit-web-examples/tree/main/nextjs/next-wagmi-app-router?file=README.md

Steps to reproduce

Go to the provided blitz.
wait for it to happen during compiling
If it doesn't happen, reload the page.
It happened to me 1 in 2 times.

Expected behavior

Don't eat all memory.

If the error is really due to low memory, than there should be a detection mechanism for that.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 148.0.0.0
Major version = 148
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 85257539,
  "usedJSHeapSize": 60345231,
  "jsHeapSizeLimit": 4294967296
}
Hash = 4c73681d

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions