metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: Performance - High Memory usage causes MetaMask to crash

Open seaona opened this issue 11 months ago • 2 comments

Describe the bug

I've encountered twice a browser crash while having MM full view and sidepanel opened. I also saw High Memory usage on the tab.

From AI, this seems to be what happened (though I'm not sure where the increase memory consumption is coming from, possibly because having the sidepanel opened increases memory usage from the tab?):

When a Chrome tab exceeds a specific memory limit (e.g., around 2.5GB to 4GB per tab in 64-bit systems, or when the overall system RAM is exhausted), the browser typically displays an "Aw, snap!" error message or becomes unresponsive, leading to a crash of that specific tab or the entire browser.

Expected behavior

No response

Screenshots/Recordings

Image

https://github.com/user-attachments/assets/264ccda0-9ba3-4c9c-9e6a-358d5b038502

Image

Steps to reproduce

Unsure on repro steps, it just seems the wallet to consume way more memory

Error messages or log output


Where was this bug found?

Internal release testing

Version

13.14.0

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

seaona avatar Dec 16 '25 09:12 seaona

Possibly related to #38847 for Firefox

giacomocatelan avatar Dec 17 '25 10:12 giacomocatelan

@seaona have you encountered similar issues recently? There has been a memory leak fix mentioned above plus some other performance improvements, wondering if the situation has improved for you in this case

aorlovskiy avatar Mar 17 '26 10:03 aorlovskiy