Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Companion App OutOfMemoryException #3

Open
freeloki opened this issue Dec 28, 2016 · 0 comments
Open

Companion App OutOfMemoryException #3

freeloki opened this issue Dec 28, 2016 · 0 comments
Labels

Comments

@freeloki
Copy link

freeloki commented Dec 28, 2016

Hi,

@jdkoren as you advised here is the full error log.

Error happens when taken pictures increased on firebase.

Device : Nexus 10
OS : 5.1.1 (LMY49J)

firebaseView.png

12-28 08:55:21.179 24037-24078/com.example.androidthings.doorbell E/art: Throwing OutOfMemoryError "Failed to allocate a 28701016 byte allocation with 16777216 free bytes and 23MB until OOM"
12-28 08:55:21.191 24037-24078/com.example.androidthings.doorbell E/RunLoop: Uncaught exception in Firebase runloop (3.0.0). Please report to support@firebase.com
                                                                             java.lang.OutOfMemoryError: Failed to allocate a 28701016 byte allocation with 16777216 free bytes and 23MB until OOM
                                                                                 at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:95)
                                                                                 at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:146)
                                                                                 at java.lang.StringBuilder.append(StringBuilder.java:216)
                                                                                 at bqf.toString(:com.google.android.gms.DynamiteModulesC:46)
                                                                                 at bok.b(:com.google.android.gms.DynamiteModulesC:222)
                                                                                 at bok.a(:com.google.android.gms.DynamiteModulesC:266)
                                                                                 at bor.run(:com.google.android.gms.DynamiteModulesC:1021)
                                                                                 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
                                                                                 at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                                                 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
                                                                                 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
                                                                                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                                 at java.lang.Thread.run(Thread.java:818)
12-28 08:55:21.192 24037-24078/com.example.androidthings.doorbell E/RunLoop: Uncaught exception in Firebase runloop (3.0.0). Please report to support@firebase.com
                                                                             java.lang.IllegalStateException: Trying to add string after reading
                                                                                 at bok.b(:com.google.android.gms.DynamiteModulesC:8028)
                                                                                 at bok.a(:com.google.android.gms.DynamiteModulesC:266)
                                                                                 at bor.run(:com.google.android.gms.DynamiteModulesC:1021)
                                                                                 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
                                                                                 at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                                                 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
                                                                                 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
                                                                                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                                 at java.lang.Thread.run(Thread.java:818)
12-28 08:55:21.192 24037-24037/com.example.androidthings.doorbell D/AndroidRuntime: Shutting down VM
12-28 08:55:21.194 24037-24037/com.example.androidthings.doorbell E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                    Process: com.example.androidthings.doorbell, PID: 24037
                                                                                    java.lang.RuntimeException: Uncaught exception in Firebase runloop (3.0.0). Please report to support@firebase.com
                                                                                        at com.google.android.gms.internal.zzagc$1$1.run(Unknown Source)
                                                                                        at android.os.Handler.handleCallback(Handler.java:739)
                                                                                        at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                        at android.os.Looper.loop(Looper.java:135)
                                                                                        at android.app.ActivityThread.main(ActivityThread.java:5254)
                                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                                        at java.lang.reflect.Method.invoke(Method.java:372)
                                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
                                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
                                                                                     Caused by: java.lang.OutOfMemoryError: Failed to allocate a 28701016 byte allocation with 16777216 free bytes and 23MB until OOM
                                                                                        at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:95)
                                                                                        at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:146)
                                                                                        at java.lang.StringBuilder.append(StringBuilder.java:216)
                                                                                        at bqf.toString(:com.google.android.gms.DynamiteModulesC:46)
                                                                                        at bok.b(:com.google.android.gms.DynamiteModulesC:222)
                                                                                        at bok.a(:com.google.android.gms.DynamiteModulesC:266)
                                                                                        at bor.run(:com.google.android.gms.DynamiteModulesC:1021)
                                                                                        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
                                                                                        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                                                        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
                                                                                        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
                                                                                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                                        at java.lang.Thread.run(Thread.java:818)```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants