yoroi-frontend icon indicating copy to clipboard operation
yoroi-frontend copied to clipboard

[ergo] Can we fix dust mining issue? Out of memory error

Open Exegetech opened this issue 4 years ago • 26 comments

Can we fix dust mining issue. I have over 300 transactions in one address and now the wallet grind to a halt. I can't do anything. I can't even send all the assets to a new address.

It looks like it is caused by this error on the console:

ErgoApi::refreshTransactions error: "out of memory"

Exegetech avatar Nov 10 '21 01:11 Exegetech

Hi, @swissarmybox! Which Yoroi version are you using?

vsubhuman avatar Nov 10 '21 08:11 vsubhuman

@vsubhuman Hi, I am using 4.7.400

Exegetech avatar Nov 11 '21 02:11 Exegetech

Is there a way to manually clear out the sync data manually? I am getting the same error I cant even open the wallet, out of memory error.

alfozaie avatar Nov 15 '21 19:11 alfozaie

We are in the process of reworking the backend API and the local storage model to help resolve this problem. It's a deeper issue of how Yoroi were not fundamentally designed with this kind of activiy in mind. Now it's being updated to be able to handle it, but it's not a one-day fix. Next version 4.8 that is being prepared at the moment unfortunately will not have this solved, I can tell that right away. But the version 4.9 after that might have the first step toward better handling of historical data. And after that we have the plan for further improvements, but they can only be gradual.

vsubhuman avatar Nov 16 '21 08:11 vsubhuman

I am not sure what is going on but my pool says unknown pool but it usually says my pools name. I am just sick of losing my $

Sunset17 avatar Nov 17 '21 00:11 Sunset17

I am not sure what is going on but my pool says unknown pool but it usually says my pools name. I am just sick of losing my $

Is that somehow related to Ergo memory issue or are you just posting on random issues?

vsubhuman avatar Nov 17 '21 10:11 vsubhuman

We are in the process of reworking the backend API and the local storage model to help resolve this problem. It's a deeper issue of how Yoroi were not fundamentally designed with this kind of activiy in mind. Now it's being updated to be able to handle it, but it's not a one-day fix. Next version 4.8 that is being prepared at the moment unfortunately will not have this solved, I can tell that right away. But the version 4.9 after that might have the first step toward better handling of historical data. And after that we have the plan for further improvements, but they can only be gradual.

Is there anyway to delete sync data manually? Since I cant get into the UI I cant get into the settings and resync, where is the sync data stored? can I just delete it manually so the app can start from scratch

alfozaie avatar Nov 25 '21 00:11 alfozaie

There are more than 900 transaction records in my wallet now, which is blocked. I tried the browser version and the Android phone version and both had this problem. My computer had 16GB of RAM and still jammed and the CPU went up to 100%.

Tindtily avatar Dec 09 '21 14:12 Tindtily

There are more than 900 transaction records in my wallet now, which is blocked. I tried the browser version and the Android phone version and both had this problem. My computer had 16GB of RAM and still jammed and the CPU went up to 100%.

This is a serious problem that you haven't solved for so many days

Tindtily avatar Dec 09 '21 14:12 Tindtily

There are more than 900 transaction records in my wallet now, which is blocked. I tried the browser version and the Android phone version and both had this problem. My computer had 16GB of RAM and still jammed and the CPU went up to 100%.

This is a serious problem that you haven't solved for so many days

I think for the time being this won't be solved. You should create a new wallet and migrate all of your funds there. You would need to wait pretty long for the wallet to respond, but as soon as it responds, just send it to another wallet.

Exegetech avatar Dec 09 '21 22:12 Exegetech

I think for the time being this won't be solved.

As you can notice the issue is already tagged as in the process of being solved and to be released in a hotfix version 4.8.2

vsubhuman avatar Dec 09 '21 22:12 vsubhuman

The new version 4.8.2 is now available in Firefox. Chrome version is on review and might take a couple of days.

vsubhuman avatar Dec 09 '21 23:12 vsubhuman

@vsubhuman even with 4.8.2 still having the same issue, when yoroi startsup in tab it fills up the tab memory, chrome is limited to 4gb ram per tab and i can see it hitting 4gb in task manager it tries to load up but then the tab crashes, im guessing its trying to load up the TX and filling up the memory.

Since the tab crashes I can't get into settings to delete sync data to resync. I asked this earlier but i didn't get a response, where is the sync data stores? Can i delete them manually in order to force YOROI to sync again?

Thank you.

alfozaie avatar Dec 12 '21 19:12 alfozaie

The new version 4.8.2 is now available in Firefox. Chrome version is on review and might take a couple of days.

any update?

alfozaie avatar Dec 14 '21 16:12 alfozaie

Version 4.9 is about to be released with a potential fix for this

vsubhuman avatar Jan 07 '22 11:01 vsubhuman

Version 4.9.0 is being pushed to production at the moment. Already available in Firefox, but Chrome takes some time. Once it's available check please if the situation is better in any way.

vsubhuman avatar Jan 12 '22 07:01 vsubhuman

Hi 🙂. Will v 4.9.0 stop requiring read and write data to all sites on Chrome? The browser disables the extension for that reason (unless you choose to accept giving those very broad permissions).

jorgeorpinel avatar Jan 14 '22 00:01 jorgeorpinel

Hi 🙂. Will v 4.9.0 stop requiring read and write data to all sites on Chrome? The browser disables the extension for that reason (unless you choose to accept giving those very broad permissions).

Version 4.9.0 will not stop requiring read and write data to all sites as it's already requiring it. You can disable the actual access the browser is giving to the extension in the settings after you accept the general permission, see comment here: https://github.com/Emurgo/yoroi-frontend/issues/2655#issuecomment-1011864879

vsubhuman avatar Jan 14 '22 07:01 vsubhuman

as it's already requiring it

Was it always? Chrome doesn't disable any other wallet I have so I can't imagine why it's needed. Thanks

jorgeorpinel avatar Jan 14 '22 07:01 jorgeorpinel

as it's already requiring it

Was it always? Chrome doesn't disable any other wallet I have so I can't imagine why it's needed. Thanks

It requires it since the version 4.9.0 and it's needed for the dapp-connector functionality that injects the wallet API for the dapps to use. It can be controlled through the browser settings for the extension.

vsubhuman avatar Jan 14 '22 07:01 vsubhuman

Version 4.9.0 is being pushed to production at the moment. Already available in Firefox, but Chrome takes some time. Once it's available check please if the situation is better in any way.

Just to update, I'm still having the out of memory issue as of 4.9.1. Issue persists

JoeSuavo avatar Jan 16 '22 05:01 JoeSuavo

I'm also having this issue. I've tried restoring the wallet on Edge, firefox, and chrome... all with same outcome out of memory.... really would like to get my ergo off this wallet...

Pharotek35 avatar Jan 27 '22 00:01 Pharotek35

I wannted to let ppl know i fixed this for me. I found place to download version 4.7.5 and dropped that .crx file into chrome restored the wallet and boom fixed!

Pharotek35 avatar Jan 27 '22 01:01 Pharotek35

Did you have the seed phrase or similar for the wallet? Or is that stored into the .crx file that you're taking about. I think the issue for many of us is (like idiots), we did not write our seeds down so we cannot restore them on another computer or anything.

I wannted to let ppl know i fixed this for me. I found place to download version 4.7.5 and dropped that .crx file into chrome restored the wallet and boom fixed!

JoeSuavo avatar Feb 13 '22 23:02 JoeSuavo

as it's already requiring it

Was it always? Chrome doesn't disable any other wallet I have so I can't imagine why it's needed. Thanks

It requires it since the version 4.9.0 and it's needed for the dapp-connector functionality that injects the wallet API for the dapps to use. It can be controlled through the browser settings for the extension.

Would be really appreciated if we could put some more energy towards this issue, is effectively losing thousands of ERG.

JoeSuavo avatar Feb 13 '22 23:02 JoeSuavo

@vsubhuman Update on this issue, it now progresses past the "Loading components" screen, then begins syncing the wallet, and when the sync seems to finish the RAM usage spikes until it crashes with the "out of memory" error. Hopefully this can help progress towards a fix. Thanks

JoeSuavo avatar May 28 '22 00:05 JoeSuavo