frame icon indicating copy to clipboard operation
frame copied to clipboard

High CPU macOS

Open mickaphd opened this issue 3 years ago • 4 comments

Everything in the title. Frame Helper.

mickaphd avatar Jun 26 '22 12:06 mickaphd

@mickaphd which version of MacOS are you using? Is this happening immediately after running Frame, after a specific interaction, after a certain amount of time, or something else? Would you be able to send us some logs? Please feel free to visit the support channel in our discord and we can get some more information from you.

goosewobbler avatar Jul 05 '22 09:07 goosewobbler

My Frame installation has become unusable on Intel Mac using last version (0.5.0 beta 21)

  • Frame chrome extension does not detect Frame installed and running on the computer.
  • After unlocking a signer it freezes while loading balances.
  • When trying to add a chain manually, it freezes completely, consuming 100% CPU, only solution is to Force Quit the process from activity monitor.
  • When adding new accounts, the auxiliary window opened works erratic and not responding to keyboard or mouse.
  • When trying to paste or write in any input field, the app freezes.

When I say "freezes" I mean the cursor becomes the macOS spinning color wheel, not reacting to any input in the app.

Tested on macbook pro with 32gb RAM and intel core i9. image

Updated from previous version with the last one from official .dmg, ensured it is the Intel version and not M1 one. (Just in case it is related to have some residual files from previous installation).

App in freeze state: image

Resource consumption: image

Extension not detecting the app (even when is not frozen): image

ottodevs avatar Jul 23 '22 02:07 ottodevs

Some progress after debugging for a lot of time:

  • Being able to disable all networks, causes the program to freeze, it should not be possible to disable all chains, at least force to have one selected, or if for any reason you want to allow disable all chains, there should be some test to catch were the resource consuming loop is coming from.

  • It seems that having a chain selected, the browser extension is able to detect the Frame installation in the system, but the extension still works erratically, for example, it randomly changes the injected selection from metamask to frame without apparent reason

  • The Frame wallet still freezes randomly, it seems related to detecting token balances on other chains (I didn't have time to test if that also happens in Ethereum mainnet), for some reason it enters in an infinite loop.

  • When adding a ERC20 token, then changing the signer shows also that added token with empty balance. The user should be able to hide empty balances.

I love this project since I discovered it back in the Aragon Flock grants, I followed its awesome evolution to adapt to the crosschain paradigm and with its current set of features I would like to use as my main wallet, but we need to fix these bugs to be able to use it in safe and productive way.

Please let me know if I should move this feedback to another platform to keep it separate from the bug reporting topic.

Thank you so much.

ottodevs avatar Jul 25 '22 00:07 ottodevs

@ottodevs thanks for your detailed reports, these are vital to helping us keep Frame running smoothly for our users. We have fixed the disabling all networks freeze / memory leak issue in beta.22 - does this fix the main issue for you?

As for the other things you mention, these can become separate github issues if you want to raise them, and we also have feature request tracking over at https://frame.canny.io/.

For any issues you are experiencing with Frame you might want to mention them on the support channel of our Discord in the first instance to get community support and over there you can also send us application logs to aid with diagnosis.

goosewobbler avatar Aug 05 '22 09:08 goosewobbler

@ottodevs @mickaphd We significantly improved CPU usage in 0.6.0, let us know on Discord if you experience any further issues with the new version.

goosewobbler avatar Feb 27 '23 15:02 goosewobbler