You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying the doorbell example with raspberry pi 3. The app can only use 11 to 12M memory and it takes more than 3 minutes to show the annotation results.
The log shows that the app hangs up due to gc. Please check the log below:
Could you please suggest how to increate heap size? I have tried android:largeHeap="true" and it doesn't work.
Thanks.
09-11 12:15:00.328 19991-19998/com.example.androidthings.doorbell W/art: Suspending all threads took: 20.589ms
09-11 12:15:14.435 19991-19998/com.example.androidthings.doorbell W/art: Suspending all threads took: 21.605ms
09-11 12:16:12.854 19991-20002/com.example.androidthings.doorbell W/art: Suspending all threads took: 7.349ms
09-11 12:16:12.903 19991-20002/com.example.androidthings.doorbell I/art: Background sticky concurrent mark sweep GC freed 129287(3MB) AllocSpace objects, 0(0B) LOS objects, 33% free, 7MB/11MB, paused 9.014ms total 69.787ms
The text was updated successfully, but these errors were encountered:
For me it looks like that android things does not allow more than 16M of memory to be given to the application, even if there is more 1 GB of memory available.
I tried different settings and what I have seen normally the available memory is defined by setting different screen resolutions, but this does not really apply to this application.
Hello,
I am trying the doorbell example with raspberry pi 3. The app can only use 11 to 12M memory and it takes more than 3 minutes to show the annotation results.
The log shows that the app hangs up due to gc. Please check the log below:
Could you please suggest how to increate heap size? I have tried android:largeHeap="true" and it doesn't work.
Thanks.
09-11 12:15:00.328 19991-19998/com.example.androidthings.doorbell W/art: Suspending all threads took: 20.589ms
09-11 12:15:14.435 19991-19998/com.example.androidthings.doorbell W/art: Suspending all threads took: 21.605ms
09-11 12:16:12.854 19991-20002/com.example.androidthings.doorbell W/art: Suspending all threads took: 7.349ms
09-11 12:16:12.903 19991-20002/com.example.androidthings.doorbell I/art: Background sticky concurrent mark sweep GC freed 129287(3MB) AllocSpace objects, 0(0B) LOS objects, 33% free, 7MB/11MB, paused 9.014ms total 69.787ms
The text was updated successfully, but these errors were encountered: