Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save eddieberklee/dfdf6604948047e853d3daecc46f323a to your computer and use it in GitHub Desktop.

Select an option

Save eddieberklee/dfdf6604948047e853d3daecc46f323a to your computer and use it in GitHub Desktop.
2022-04-10 08:30:38.324 10324-10442/com.compscieddy.writeaday E/NoopPersistenceManager: Caught Throwable.
java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 137128 free bytes and 133KB until OOM, target footprint 201326592, growth limit 201326592; giving up on allocation because <1% of heap free after GC.
at com.google.firebase.database.collection.LLRBBlackValueNode.copy(LLRBBlackValueNode.java:67)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:126)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:126)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.RBTreeSortedMap.remove(RBTreeSortedMap.java:76)
at com.google.firebase.database.snapshot.ChildrenNode.updateImmediateChild(ChildrenNode.java:318)
at com.google.firebase.database.snapshot.IndexedNode.updateChild(IndexedNode.java:119)
at com.google.firebase.database.core.view.filter.RangedFilter.updateFullNode(RangedFilter.java:103)
at com.google.firebase.database.core.view.ViewProcessor.generateEventCacheAfterServerEvent(ViewProcessor.java:219)
at com.google.firebase.database.core.view.ViewProcessor.applyServerOverwrite(ViewProcessor.java:340)
at com.google.firebase.database.core.view.ViewProcessor.applyOperation(ViewProcessor.java:90)
at com.google.firebase.database.core.view.View.applyOperation(View.java:173)
at com.google.firebase.database.core.SyncPoint.applyOperationToView(SyncPoint.java:79)
at com.google.firebase.database.core.SyncPoint.applyOperation(SyncPoint.java:110)
at com.google.firebase.database.core.SyncTree.applyOperationDescendantsHelper(SyncTree.java:1068)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:999)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:1018)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:1018)
at com.google.firebase.database.core.SyncTree.applyOperationToSyncPoints(SyncTree.java:985)
at com.google.firebase.database.core.SyncTree.access$400(SyncTree.java:79)
at com.google.firebase.database.core.SyncTree$5.call(SyncTree.java:306)
at com.google.firebase.database.core.SyncTree$5.call(SyncTree.java:302)
at com.google.firebase.database.core.persistence.NoopPersistenceManager.runInTransaction(NoopPersistenceManager.java:126)
at com.google.firebase.database.core.SyncTree.applyServerOverwrite(SyncTree.java:301)
at com.google.firebase.database.core.Repo.onDataUpdate(Repo.java:371)
at com.google.firebase.database.connection.PersistentConnectionImpl.onDataPush(PersistentConnectionImpl.java:945)
at com.google.firebase.database.connection.PersistentConnectionImpl.onDataMessage(PersistentConnectionImpl.java:505)
at com.google.firebase.database.connection.Connection.onDataMessage(Connection.java:167)
at com.google.firebase.database.connection.Connection.onMessage(Connection.java:131)
at com.google.firebase.database.connection.WebsocketConnection.appendFrame(WebsocketConnection.java:259)
at com.google.firebase.database.connection.WebsocketConnection.handleIncomingFrame(WebsocketConnection.java:302)
at com.google.firebase.database.connection.WebsocketConnection.access$500(WebsocketConnection.java:34)
at com.google.firebase.database.connection.WebsocketConnection$WSClientTubesock$2.run(WebsocketConnection.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
2022-04-10 08:30:38.324 10324-10442/com.compscieddy.writeaday E/NoopPersistenceManager: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
2022-04-10 08:30:38.333 10324-10442/com.compscieddy.writeaday E/RunLoop: Uncaught exception in Firebase Database runloop (20.0.4). If you are not already on the latest version of the Firebase SDKs, try updating your dependencies. Should this problem persist, please file a report at https://github.com/firebase/firebase-android-sdk
java.lang.RuntimeException: java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 137128 free bytes and 133KB until OOM, target footprint 201326592, growth limit 201326592; giving up on allocation because <1% of heap free after GC.
at com.google.firebase.database.core.persistence.NoopPersistenceManager.runInTransaction(NoopPersistenceManager.java:131)
at com.google.firebase.database.core.SyncTree.applyServerOverwrite(SyncTree.java:301)
at com.google.firebase.database.core.Repo.onDataUpdate(Repo.java:371)
at com.google.firebase.database.connection.PersistentConnectionImpl.onDataPush(PersistentConnectionImpl.java:945)
at com.google.firebase.database.connection.PersistentConnectionImpl.onDataMessage(PersistentConnectionImpl.java:505)
at com.google.firebase.database.connection.Connection.onDataMessage(Connection.java:167)
at com.google.firebase.database.connection.Connection.onMessage(Connection.java:131)
at com.google.firebase.database.connection.WebsocketConnection.appendFrame(WebsocketConnection.java:259)
at com.google.firebase.database.connection.WebsocketConnection.handleIncomingFrame(WebsocketConnection.java:302)
at com.google.firebase.database.connection.WebsocketConnection.access$500(WebsocketConnection.java:34)
at com.google.firebase.database.connection.WebsocketConnection$WSClientTubesock$2.run(WebsocketConnection.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
Caused by: java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 137128 free bytes and 133KB until OOM, target footprint 201326592, growth limit 201326592; giving up on allocation because <1% of heap free after GC.
at com.google.firebase.database.collection.LLRBBlackValueNode.copy(LLRBBlackValueNode.java:67)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:126)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:126)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.RBTreeSortedMap.remove(RBTreeSortedMap.java:76)
at com.google.firebase.database.snapshot.ChildrenNode.updateImmediateChild(ChildrenNode.java:318)
at com.google.firebase.database.snapshot.IndexedNode.updateChild(IndexedNode.java:119)
at com.google.firebase.database.core.view.filter.RangedFilter.updateFullNode(RangedFilter.java:103)
at com.google.firebase.database.core.view.ViewProcessor.generateEventCacheAfterServerEvent(ViewProcessor.java:219)
at com.google.firebase.database.core.view.ViewProcessor.applyServerOverwrite(ViewProcessor.java:340)
at com.google.firebase.database.core.view.ViewProcessor.applyOperation(ViewProcessor.java:90)
at com.google.firebase.database.core.view.View.applyOperation(View.java:173)
at com.google.firebase.database.core.SyncPoint.applyOperationToView(SyncPoint.java:79)
at com.google.firebase.database.core.SyncPoint.applyOperation(SyncPoint.java:110)
2022-04-10 08:30:38.333 10324-10442/com.compscieddy.writeaday E/RunLoop: at com.google.firebase.database.core.SyncTree.applyOperationDescendantsHelper(SyncTree.java:1068)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:999)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:1018)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:1018)
at com.google.firebase.database.core.SyncTree.applyOperationToSyncPoints(SyncTree.java:985)
at com.google.firebase.database.core.SyncTree.access$400(SyncTree.java:79)
at com.google.firebase.database.core.SyncTree$5.call(SyncTree.java:306)
at com.google.firebase.database.core.SyncTree$5.call(SyncTree.java:302)
at com.google.firebase.database.core.persistence.NoopPersistenceManager.runInTransaction(NoopPersistenceManager.java:126)
... 16 more
2022-04-10 08:30:38.395 10324-10324/com.compscieddy.writeaday E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.compscieddy.writeaday, PID: 10324
java.lang.RuntimeException: Uncaught exception in Firebase Database runloop (20.0.4). If you are not already on the latest version of the Firebase SDKs, try updating your dependencies. Should this problem persist, please file a report at https://github.com/firebase/firebase-android-sdk
at com.google.firebase.database.android.AndroidPlatform$1$1.run(AndroidPlatform.java:96)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: java.lang.RuntimeException: java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 137128 free bytes and 133KB until OOM, target footprint 201326592, growth limit 201326592; giving up on allocation because <1% of heap free after GC.
at com.google.firebase.database.core.persistence.NoopPersistenceManager.runInTransaction(NoopPersistenceManager.java:131)
at com.google.firebase.database.core.SyncTree.applyServerOverwrite(SyncTree.java:301)
at com.google.firebase.database.core.Repo.onDataUpdate(Repo.java:371)
at com.google.firebase.database.connection.PersistentConnectionImpl.onDataPush(PersistentConnectionImpl.java:945)
at com.google.firebase.database.connection.PersistentConnectionImpl.onDataMessage(PersistentConnectionImpl.java:505)
at com.google.firebase.database.connection.Connection.onDataMessage(Connection.java:167)
at com.google.firebase.database.connection.Connection.onMessage(Connection.java:131)
at com.google.firebase.database.connection.WebsocketConnection.appendFrame(WebsocketConnection.java:259)
at com.google.firebase.database.connection.WebsocketConnection.handleIncomingFrame(WebsocketConnection.java:302)
at com.google.firebase.database.connection.WebsocketConnection.access$500(WebsocketConnection.java:34)
at com.google.firebase.database.connection.WebsocketConnection$WSClientTubesock$2.run(WebsocketConnection.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
Caused by: java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 137128 free bytes and 133KB until OOM, target footprint 201326592, growth limit 201326592; giving up on allocation because <1% of heap free after GC.
at com.google.firebase.database.collection.LLRBBlackValueNode.copy(LLRBBlackValueNode.java:67)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:126)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:126)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.LLRBValueNode.remove(LLRBValueNode.java:103)
at com.google.firebase.database.collection.RBTreeSortedMap.remove(RBTreeSortedMap.java:76)
at com.google.firebase.database.snapshot.ChildrenNode.updateImmediateChild(ChildrenNode.java:318)
at com.google.firebase.database.snapshot.IndexedNode.updateChild(IndexedNode.java:119)
2022-04-10 08:30:38.395 10324-10324/com.compscieddy.writeaday E/AndroidRuntime: at com.google.firebase.database.core.view.filter.RangedFilter.updateFullNode(RangedFilter.java:103)
at com.google.firebase.database.core.view.ViewProcessor.generateEventCacheAfterServerEvent(ViewProcessor.java:219)
at com.google.firebase.database.core.view.ViewProcessor.applyServerOverwrite(ViewProcessor.java:340)
at com.google.firebase.database.core.view.ViewProcessor.applyOperation(ViewProcessor.java:90)
at com.google.firebase.database.core.view.View.applyOperation(View.java:173)
at com.google.firebase.database.core.SyncPoint.applyOperationToView(SyncPoint.java:79)
at com.google.firebase.database.core.SyncPoint.applyOperation(SyncPoint.java:110)
at com.google.firebase.database.core.SyncTree.applyOperationDescendantsHelper(SyncTree.java:1068)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:999)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:1018)
at com.google.firebase.database.core.SyncTree.applyOperationHelper(SyncTree.java:1018)
at com.google.firebase.database.core.SyncTree.applyOperationToSyncPoints(SyncTree.java:985)
at com.google.firebase.database.core.SyncTree.access$400(SyncTree.java:79)
at com.google.firebase.database.core.SyncTree$5.call(SyncTree.java:306)
at com.google.firebase.database.core.SyncTree$5.call(SyncTree.java:302)
at com.google.firebase.database.core.persistence.NoopPersistenceManager.runInTransaction(NoopPersistenceManager.java:126)
... 16 more
2022-04-10 08:30:38.401 10324-10462/com.compscieddy.writeaday E/AndroidRuntime: FATAL EXCEPTION: TubeSockReader-1
Process: com.compscieddy.writeaday, PID: 10324
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@56b24da rejected from com.google.firebase.database.core.utilities.DefaultRunLoop$1@81b4e85[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 653]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2086)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:848)
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:334)
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562)
at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:654)
at com.google.firebase.database.connection.WebsocketConnection$WSClientTubesock.onError(WebsocketConnection.java:106)
at com.google.firebase.database.tubesock.WebSocket.runReader(WebSocket.java:432)
at com.google.firebase.database.tubesock.WebSocket.access$000(WebSocket.java:47)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment