The app is extremely slowSee original GitHub issue
Sent a report about ANR. The app is so slow it takes a minute to switch between activities (it shows a black screen but then the expected window appears). It’s still opening a channel (only 1 conf) and just by tapping some items on the screen (on-chain wallet, settings, usage stats) it slows down to a crawl, eventually showing “Something went wrong” and the report says:
java.util.concurrent.TimeoutException: com.android.internal.os.BinderInternal$GcWatcher.finalize() timed out after 10 seconds
at java.lang.Object.wait(Native Method)
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
With some further testing I was able to reproduce this on Moto G7 Power, and fixed it mainly by requesting a large heap in app manifest in https://github.com/btcontract/wallet/commit/9f3d918042a5a7ee67f9c0e2ce686b01c7bf7454.
2.0.6 update with a fix has been released, please let me know if it fixes an issue on your device, too.
I have no idea yet as this is the first time I encounter something like this, will look into all possible options.
Maybe there’s a memory leak of some kind, for example a wallet with a fully loaded graph constantly takes about 137mb of RAM on my phone which is sizeable but not catastrophically large.
I guess the first thing to do is set up a “too much memory is taken” listener and provide a detailed report which for example you can post here, that will be done in next update.