I'm currently trying to smoke-test a web application through the Amazon Web App Tester (https://www.amazon.com/Amazon-Digital-Services-Inc-Tester/dp/B00DZ3I1W8) before submitting for review and after testing the application on the HD 8 Plus, the application is killed and I'm returned to the Web app Tester. Testing the same portion of the application with an HD 10 never results in a crash.
Upon checking the HD 8 Plus crash logs, I see the following:
hasForegroundActivities: true Process: com.amazon.webapps.performancetester Version: 314 Total memory of com.amazon.webapps.performancetester: 2148 MB (ResidentSize (includes GPU): 2199996 KB, IonAllocations: 0 KB, GpuMemory: 0 KB) TraceHashCode: LMK_com.amazon.webapps.performancetester_2200 Build: Amazon/onyx/onyx:7.0/PS7317/1810N:user/amz-p,release-keys OsBuildNumber: PS7317_user_1810 OsOtaNumber: 0019227153028 ======low memory killer===== Free memory other_free: 2981, other_file:17843 pages Candidate 564 (system_server), adj -900, rss 12481, to kill Candidate 1860 (com.android.se), adj -800, rss 1789, to kill Candidate 1830 (com.dolby.daxservice), adj -800, rss 2086, to kill Candidate 1843 (com.amazon.tcomm), adj -800, rss 2334, to kill Candidate 1818 (amazon.speech.sim), adj -800, rss 1677, to kill Candidate 1448 (com.amazon.imp), adj -800, rss 4882, to kill Candidate 1347 (com.android.systemui), adj -800, rss 9679, to kill Candidate 20799 (com.amazon.webview.chromium:sandboxed_process0), adj 0, rss 23558, to kill Killing 'com.amazon.webview.chromium:sandboxed_process0' (20799), uid 99022, adj 0 to free 94232kB because system is under low memory pressure oom_adj 0 previous crash: Killing 'com.amazon.webapps.performancetester' (20692), uid 10173, adj 0 to free 2199996kB because system is under medium memory pressure oom_adj 0
Reviewing the crash log shows that the 'com.amazon.webapps.performancetester' process was killed to free up memory. Upon testing my web app through the Silk browser on the HD 8 Plus, I was unable to recreate this crash using the same portion of the web application.
I also noticed that the WAT version on the HD 8 Plus is 3.14 while the HD 10 is 3.0.200129.0_3021110. Although I'm still unsure of whether this matters or note, it was something I noticed that could explain why HD 8 plus is crashing while the HD 10 isn't.
Given that Silk is not giving me low memory issues on the HD 8 plus, I was wondering
- if WAT version, or Chrome Webview, were potentially contributing to the low memory issue
- If there is a specific place in the Kindle logs that would/could point to what is causing low memory to occur
- why the performancetester is consuming too much memory on a 3 gb RAM device (HD 8 Plus) and not on a 2 gb RAM device (HD 10)