Metamask-extension: Metamask becomes slower and slower over time

Created on 6 Nov 2016  Â·  29Comments  Â·  Source: MetaMask/metamask-extension

After a few hours of intensive usage (DAPP dev that requires often testing transactions), Metamask (the confirmation dialog) becomes slower and slower: slower to show up and slower to react once the confirm button is clicked.

Disabling the extension and enabling it again fixes the issue.

T00-bug

Most helpful comment

This is still happens to me. Using Ubuntu 17.04, Chrome 60.0.3112.113, MetaMask 3.13.2. A co-worker of mine has the same issue.

All 29 comments

I can confirm that. After few interaction with metamask (I did not need to wait hours, just few transaction or interactions with the ui like switching account) it gets very slow. On my PC it can take up to 5 second for the plugin popup to who up, 5 more second to have it responsive to click, then 5 second for each new screen. This becomes almost unusable.

It migth explain : https://github.com/MetaMask/metamask-plugin/issues/863

Any update on this ?

For our dapp, this affect players a lot after several plays and they cannot continue playing.

Could there be a workaround in the meantime (maybe a button to reload metamask or auto reload upon having dealt x transactions ) ?

Note that the issue seems to disappear upon disabling and enabling the extensions as @chevdor mentions

We've patched one major memory leak, and suspect there are more in our cache subprovider. One workaround may be to temporarily remove our cache layer.

We're probably going to have to do that next week though, we've taken this week off for the holidays.

It will be helpful to see if you have the same results with no caching.

  • Dan

On Dec 26, 2016, at 4:53 PM, wighawag notifications@github.com wrote:

Any update on this ?

For our dapp, this affect players a lot after several plays and they cannot continue playing.

Could there be a workaround in the meantime (maybe a button to reload metamask or auto reload upon having dealt x transactions ) ?

Note that the issue seems to disappear upon disabling and enabling the extensions as @chevdor mentions

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks Dan.
An option to enable/disable caching would be great.
Have great holidays!

yep, if caching can be the issue, I like the proposal from @wighawag to have a checkbox to turn it off. That would make testing rather simple until the issue is fixed.

Another option if it is possible for metamask to detect its own slow down, would be give a message to the user (instead of showing the transaction UI) .
This coud also then return a specific error to the dapp on transaction attempts

@wighawag when you show the slowdown message in etherspace, how are you detecting a slow down?

@kumavis We do not really detect it directly. When a player click start we do a first eth_call and if this take longer than usual (currently set to be 1.5 second) we show the message mentioning metamask slow down.

This is not accuratly detecting the metamask slow down though but we thought better have false positive so player get aware of potential slow down.

its not uncommon for infura requests to take >2 sec when they are under stress, so I would remove that detection. Its unrelated to "MetaMask Slowdown". I don't find the false positive as helpful, if there is a real slow down the user will notice it because it is slow.

@kumavis noted. The main problem is that when the slow down seems exponential. So a player could have a manageable slow down on start and a big slow down at submit time. This can be very frustarting for a player we manage to get into the highscore.

Same experience as @wighawag

On Sun, Jan 8, 2017, 15:47 wighawag notifications@github.com wrote:

@kumavis https://github.com/kumavis noted. The main problem is that
when the slow down seems exponential. So a player could have a manageable
slow down on start and a big slow down at submit time. This can be very
frustarting for a player we manage to get into the highscore.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MetaMask/metamask-plugin/issues/789#issuecomment-271155520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtFpB60BQwRGe75S7OfSC7sqqKrH11Vks5rQPcZgaJpZM4Kqnjs
.

Ok we will prioritize this

That would be awesome, this is kinda the last blocker I have on my list
regarding Metamask atm.
Thank you @kumavis
Count me in once some testing is required

On Sun, Jan 8, 2017 at 7:13 PM kumavis notifications@github.com wrote:

Ok we will prioritize this

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MetaMask/metamask-plugin/issues/789#issuecomment-271168123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtFpLdN61U7oVrMyDRq4l70H8s56ul7ks5rQSdRgaJpZM4Kqnjs
.

We identified and fixed some significant memory leaks. Should improve the situation dramatically. Will be published with our next big release.

Did not try for long but this seems indeed a lot better. I ll try to test it more soon

@wighawag haha unless you are building from the dev branch we actually haven't deployed anything new yet. Should be Monday!

ok, I ll test more so that I can compare to Monday :)

@wighawag the fix has been deployed. I'm closing for now but if you encounter this again, please let us know

I get this problem still on Windows 7 Chrome 59.0.3071.115, Metamask 3.7.8.
It takes about 5-10 transactions to get unusable.
It might be in conjunction or caused by Remix.

This is still happens to me. Using Ubuntu 17.04, Chrome 60.0.3112.113, MetaMask 3.13.2. A co-worker of mine has the same issue.

Same for me. Metamask takes very long time (maybe a few minutes) to show up pop ups for making transaction.
MacOS High Sierra 10.13.2; Chrome 63.0.3239.132; Metamask 3.13.2

Can confirm. About 10 Minutes waiting time for the transaction popup. If a make multiple transactions they all come in a batch afterwards. Each new transaction takes about a minute longer. Will try it on Windows tonight.
MacOS High Sierra 10.13.2; Chrome 63.0.3239.132; Metamask 3.13.2

@BigMurry and @philipp65 you're experiencing issue https://github.com/MetaMask/metamask-extension/issues/2935, it is unrelated to this old closed issue.

has this issue been resolved? do I need to disable metamask in order for it to work properly? Will my ETH be safe doing this?

@mediumjack1 make sure you have your seed phrase backed up!

The issue was fixed by resetting mettamask in settings. some unfinished transactions were slowing down the process

I'm still experiencing this issue. I find myself having to disable/enable the extension several times in chrome. The dapp I'm developing is becoming unusable after very few metamask confirmation dialog popups. Ubuntu 18.04. Metamask 7.0.1

The dapp I'm developing is becoming unusable after very few metamask confirmation dialog popups. Ubuntu 18.04. Metamask 7.0.1

Are you able to share the dapp you are building with us, so we could look into root causes?

The dapp I'm developing is becoming unusable after very few metamask confirmation dialog popups. Ubuntu 18.04. Metamask 7.0.1

Are you able to share the dapp you are building with us, so we could look into root causes?

Just to confirm, I've finally tested the dapp on Ganache, kovan and mainnet and the slow down only occurs for Ganache. So perhaps this is a Ganache issue rather than a Metamask issue.
I'd encourage anyone having similar issues to deploy to a test net to confirm that it's not just Ganache.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danfinlay picture danfinlay  Â·  3Comments

kumavis picture kumavis  Â·  3Comments

DISC30 picture DISC30  Â·  3Comments

hellobart picture hellobart  Â·  3Comments

BassBauman picture BassBauman  Â·  3Comments