Вылетает приложение на андроид
Андроид 12, miui 14
Poco x3
pd.e: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | java.lang.OutOfMemoryError: Failed to allocate a 136 byte allocation with 3704184 free bytes and 3617KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at xd.a.p(RxJavaPlugins.java:21
at io.reactivex.internal.schedulers.h.run(ScheduledRunnable.java:19)
at io.reactivex.internal.schedulers.h.call(ScheduledRunnable.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.OutOfMemoryError: Failed to allocate a 136 byte allocation with 3704184 free bytes and 3617KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at android.database.CursorWindow.nativeGetString(Native Method)
at android.database.CursorWindow.getString(CursorWindow.java:462)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:54)
at ru.pikabu.android.clickhouse.db.dao.EventsDao_Impl.readAll(EventsDao_Impl.java:105)
at ru.pikabu.android.clickhouse.Clickhouse.getEvent$lambda$38(Clickhouse.kt:67)
at ru.pikabu.android.clickhouse.Clickhouse.o(Unknown Source:0)
at ru.pikabu.android.clickhouse.n.call(Unknown Source:14)
at io.reactivex.internal.operators.single.e.h(SingleFromCallable.java:17)
at ld.k.a(Single.java:15
at io.reactivex.internal.operators.single.d.h(SingleFlatMap.java:10)
at ld.k.a(Single.java:15
at io.reactivex.internal.operators.single.c.h(SingleDoOnSuccess.java:8)
at ld.k.a(Single.java:15
at io.reactivex.internal.operators.single.b.h(SingleDoAfterTerminate.java:10)
at ld.k.a(Single.java:15
at io.reactivex.internal.operators.single.g$a.run(SingleSubscribeOn.java:3)
at ld.j$a.run(Scheduler.java:10)
at io.reactivex.internal.schedulers.h.run(ScheduledRunnable.java:14)
... 6 more