App isn't responding #25523
-
DescriptionHi, My project occasionally encounters unresponsive system popups, and I was wondering if maui has any tools to help troubleshoot this issue? For example, tools to analyze CPU usage, memory usage, etc. Steps to ReproduceThis is an occasional problem with no reproduction steps Link to public reproduction project repositoryNo response Version with bug8.0.61 SR6.1 Is this a regression from previous behavior?Not sure, did not test other versions Last version that worked wellNo response Affected platformsAndroid Affected platform versions安卓14 Did you find any workaround?I would like to know how to locate and analyze this issue, sorry I am not familiar with maui. I hope to get your help. Relevant log outputNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
@Jay-57blocks You use NavigationPage for navigation in app? |
Beta Was this translation helpful? Give feedback.
-
@Jay-57blocks I faced similar issue a while back.... Eventually I found this plugin. Read the Readme of the plugin you may get an understanding of what's happening. The simple reason is "Memory Leaks" . You can use Android Studio profiler to track you app memory allocation while debugging. In my case the app's memory kept on increasing(while using app) to point where system throws that ANR popup boxes. Note: The plugin has it's own drawbacks. Refer this thread by me. |
Beta Was this translation helpful? Give feedback.
-
Hi,
The latest news, I finally found the reason, is because my colleague's part
of the code caused a thread deadlock. Finally found the reason.
Best regards/Jay Ren
Bhavanesh N ***@***.***>于2024年11月4日 周一17:19写道:
… @Jay-57blocks <https://github.com/Jay-57blocks> I guess this differs from
device to device. In my case, for a device with 6GB RAM when my app usage
reaches around 650-700Mb the ANR popups start showing.
—
Reply to this email directly, view it on GitHub
<#25523 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7TIKBXBAGIWKFXOY5CZETLZ643ZFAVCNFSM6AAAAABRDW45VCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJUGAYTQNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Yes, I use Prism.Navigation for navigation.