The app is extremely slow
See original GitHub issueSent 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)
at java.lang.Object.wait(Object.java:442)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:190)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:211)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:271)
at java.lang.Daemons$Daemon.run(Daemons.java:137)
at java.lang.Thread.run(Thread.java:919)
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
5 Ways To Deal With Super Slow Apps - Popular Mechanics
-Tap Settings > General > Storage & iCloud Usage. Then, in the storage section up top, tap Manage Storage. Select the app that's...
Read more >Top Reasons Why Your Mobile App is Slow ... - freeCodeCamp
1. Your App is Obsolete and Not Supportive · 2. Sluggishness of the Server Speed · 3. Encrypted Connections are not Optimized ·...
Read more >Top Reasons Why Your Mobile App is Slow and How to Fix it
Lack of storage space - If your phone or tablet is full of photos, videos, and apps; the device doesn't have a lot...
Read more >5 Biggest Reasons Your Mobile App is Slow and How To Fix It
1. An Overworked, Overloaded Server · 2. Too Much Data · 3. Un-Optimized SSL and TLS · 4. Outdated Software Versions · 5....
Read more >Speed up a slow Android device - Google Help
Speed up a slow Android device. Try the steps on this page if your phone: Runs very slowly; Lags; Takes a long time...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
A
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.