scana
03/09/2023, 11:49 AMEmitters.kt - com.apollographql.apollo3.cache.normalized.internal.WatcherInterceptor$intercept$$inlined$filter$1$2.emit
Has anyone encountered a similar issue? Would it make sense to install a different interceptor to dump state periodically in order to track why this happens?
I wonder if this is because we put too many keys into our cache 🤔main (runnable):tid=1 systid=32187
at java.util.LinkedHashMap.newNode(LinkedHashMap.java:280)
at java.util.HashMap.putVal(HashMap.java:630)
at java.util.HashMap.put(HashMap.java:611)
at java.util.HashSet.add(HashSet.java:219)
at java.util.AbstractCollection.addAll(AbstractCollection.java:352)
at java.util.LinkedHashSet.<init>(LinkedHashSet.java:169)
at kotlin.collections.CollectionsKt___CollectionsKt.toMutableSet(CollectionsKt___CollectionsKt.java:1696)
at kotlin.collections.CollectionsKt.toMutableSet(CollectionsKt.java:14)
at kotlin.collections.CollectionsKt___CollectionsKt.intersect(CollectionsKt___CollectionsKt.java:1673)
at kotlin.collections.CollectionsKt.intersect(CollectionsKt.java:11)
at com.apollographql.apollo3.cache.normalized.internal.WatcherInterceptor$intercept$$inlined$filter$1$2.emit(Emitters.kt:224)
at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:383)
at kotlinx.coroutines.flow.SharedFlowImpl$collect$1.invokeSuspend(SharedFlow.kt:13)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8775)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
bod
03/09/2023, 11:58 AMchangedKeys
nor watchedKeys
should normally be so huge as to cause an ANRmbonnin
03/09/2023, 6:06 PMscana
03/27/2023, 3:45 PMQueryName: watched keys size: 22 changedKeys: 865
mbonnin
03/27/2023, 3:53 PMscana
03/27/2023, 8:02 PMmbonnin
03/27/2023, 8:07 PM