unfoldingWord-dev / ts-android

A tool to translate Bible stories into your own language
http://ufw.io/ts
Other
36 stars 19 forks source link

app hangs on loading source selection screen. w... #2049

Open door43app opened 7 years ago

door43app commented 7 years ago

Notes

app hangs on loading source selection screen. waited 3 minutes and it did not display.

Environment

Environment Key Value
version 11.0
build 164
UDID f710314c4d27668b
Android Release 4.4.2
Android SDK 19
Brand rockchip
Device rk292x

Log history

3/27/17 1:53 PM  I/com.door43.translationstudio.services.BackupService: Finished backup check.
3/27/17 1:53 PM  I/com.door43.translationstudio.services.BackupService: en-x-demo1_php_text_ulb backed up
3/27/17 1:53 PM  I/com.door43.translationstudio.services.BackupService: Checking for changes
cckozie commented 7 years ago

This occurs when creating a new project and when attempting to open a project that has not yet had a source selected. Dialog displayed is: Loading Soure Texts Please wait...

da1nerd commented 7 years ago

@cckozie which book were you opening?

cckozie commented 7 years ago

The only ones I can open are ones I import. Creating any new one or opening any existing one that does not already have a source assigned causes it to hand. Note that this is on a 4.4.2 device.

PhotoNomad0 commented 7 years ago

Created a new project on the Neutab. Initially seemed to be working, but very-very slow with blank screens displayed for a long time during language and book selection (free memory was getting down to 10%). Then when I opened up the source selection, it displayed initially and then the app crashed. Looking at the crash report, it had a low memory crash. This device only has 512MB Ram - smallest of all my devices. On my old Samsung Galaxy S2, it will work but very slowly. It has 1GB Ram and is running Android 4.0.4. Don't think there is much we can do to support low memory devices without a significant rewrite.

da1nerd commented 7 years ago

apps are only allowed a block of memory so that they do not consume all the memory on the phone. So with 512MB I imagine the app is only getting allocated around 50-100MB.

da1nerd commented 7 years ago

again. this might be related to the threading fixes I made. try this again please.

cckozie commented 7 years ago

I am no longer seeing this problem on the 4.4.1 device with Travis build 1379, however, it will no longer render the text after even a small scroll.