Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metamask becomes slower and slower over time #789

Closed
chevdor opened this issue Nov 6, 2016 · 29 comments
Closed

Metamask becomes slower and slower over time #789

chevdor opened this issue Nov 6, 2016 · 29 comments
Assignees
Labels
type-bug Something isn't working

Comments

@chevdor
Copy link

chevdor commented Nov 6, 2016

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.

@chevdor chevdor added this to the Public Release milestone Nov 7, 2016
@chevdor chevdor added the type-bug Something isn't working label Nov 7, 2016
@wighawag
Copy link

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 : #863

@wighawag
Copy link

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

@danfinlay
Copy link
Contributor

danfinlay commented Dec 27, 2016 via email

@wighawag
Copy link

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

@chevdor
Copy link
Author

chevdor commented Dec 29, 2016

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.

@wighawag
Copy link

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

@danfinlay danfinlay modified the milestones: Core Maintenance, Public Release Jan 2, 2017
@kumavis
Copy link
Member

kumavis commented Jan 7, 2017

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

@wighawag
Copy link

wighawag commented Jan 7, 2017

@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.

@kumavis
Copy link
Member

kumavis commented Jan 7, 2017

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.

@wighawag
Copy link

wighawag commented Jan 8, 2017

@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.

@chevdor
Copy link
Author

chevdor commented Jan 8, 2017 via email

@kumavis
Copy link
Member

kumavis commented Jan 8, 2017

Ok we will prioritize this

@chevdor
Copy link
Author

chevdor commented Jan 8, 2017 via email

@kumavis
Copy link
Member

kumavis commented Jan 12, 2017

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

@wighawag
Copy link

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

@kumavis
Copy link
Member

kumavis commented Jan 15, 2017

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

@wighawag
Copy link

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

@kumavis
Copy link
Member

kumavis commented Jan 17, 2017

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

@kumavis kumavis closed this as completed Jan 17, 2017
@ghost ghost removed the ready label Jan 17, 2017
@Solid-Code
Copy link

Solid-Code commented Jun 28, 2017

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.

@fvictorio
Copy link

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.

@BigMurry
Copy link

BigMurry commented Jan 10, 2018

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

@philipp65
Copy link

philipp65 commented Jan 12, 2018

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

@danfinlay
Copy link
Contributor

@BigMurry and @philipp65 you're experiencing issue #2935, it is unrelated to this old closed issue.

@mediumjack1
Copy link

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?

@bdresser
Copy link
Contributor

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

@mediumjack1
Copy link

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

@gititGoro
Copy link

gititGoro commented Aug 10, 2019

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

@danfinlay
Copy link
Contributor

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?

@gititGoro
Copy link

gititGoro commented Oct 4, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Something isn't working
Projects
None yet
Development

No branches or pull requests