Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The app is extremely slow

See 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:$GcWatcher.finalize() timed out after 10 seconds
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(
	at java.lang.ref.ReferenceQueue.remove(
	at java.lang.ref.ReferenceQueue.remove(
	at java.lang.Daemons$FinalizerDaemon.runInternal(
	at java.lang.Daemons$

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

btcontractcommented, Aug 31, 2021

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

A 2.0.6 update with a fix has been released, please let me know if it fixes an issue on your device, too.

btcontractcommented, Aug 28, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found