Stacktrace

java.lang.OutOfMemoryError: Failed to allocate a 16924 byte allocation with 8020 free bytes and 7KB until OOM
	at java.util.ArrayList.add(ArrayList.java:118)
	at com.github.k1rakishou.chan.core.cache.InnerCache.trim(InnerCache.kt:50)
	at com.github.k1rakishou.chan.core.cache.InnerCache$$ExternalSyntheticLambda0.run(Unknown Source)
	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)

Logs

D/(03:02:21.212) KurobaEx-fdroid | MediaViewerAdapter: doBind(position: 49)
D/(03:02:21.213) KurobaEx-fdroid | MediaView: onHide(48/98, Remote(urlRaw=https://i.4cdn.org/gif/1664615647625094.gif))
D/(03:02:21.888) KurobaEx-fdroid | MediaView: onBind(49/98, Remote(urlRaw=https://i.4cdn.org/gif/1664615680025751.gif))
D/(03:02:22.234) KurobaEx-fdroid | MediaView: onShow(49/98, Remote(urlRaw=https://i.4cdn.org/gif/1664615680025751.gif))
D/(03:02:22.234) KurobaEx-fdroid | MediaViewerAdapter: doBind(position: 49), loadedViewsCount=3, boundCount=3, showCount=1
E/(03:02:23.445) KurobaEx-fdroid | Chan: Unhandled exception in thread: pool-12-thread-1
E/(03:02:23.445) KurobaEx-fdroid | Chan: java.lang.OutOfMemoryError: Failed to allocate a 16924 byte allocation with 8020 free bytes and 7KB until OOM
E/(03:02:23.445) KurobaEx-fdroid | Chan: 	at java.util.ArrayList.add(ArrayList.java:118)
E/(03:02:23.445) KurobaEx-fdroid | Chan: 	at com.github.k1rakishou.chan.core.cache.InnerCache.trim(InnerCache.kt:50)
E/(03:02:23.445) KurobaEx-fdroid | Chan: 	at com.github.k1rakishou.chan.core.cache.InnerCache$$ExternalSyntheticLambda0.run(Unknown Source)
E/(03:02:23.445) KurobaEx-fdroid | Chan: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/(03:02:23.445) KurobaEx-fdroid | Chan: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/(03:02:23.445) KurobaEx-fdroid | Chan: 	at java.lang.Thread.run(Thread.java:818)
D/(03:02:23.850) KurobaEx-fdroid | MediaView: onUnbind(47/98, Remote(urlRaw=https://i.4cdn.org/gif/1664615613425783.gif))
D/(03:02:23.850) KurobaEx-fdroid | MediaViewerAdapter: destroyItem(position: 47), loadedViewsCount=2, boundCount=2, showCount=1
D/(03:02:23.911) KurobaEx-fdroid | MediaView: startPreloading(50/98, Remote(urlRaw=https://i.4cdn.org/gif/1664615713301278.gif))
D/(03:02:23.990) KurobaEx-fdroid | FileCacheV2: [main]: Downloading a file, url=https://i.4cdn.org/gif/1664615713301278.gif
D/(03:02:23.999) KurobaEx-fdroid | FileCacheV2: [NormalFileCacheV2Thread-0]: Download ([FileDownloadRequest: url=https://i.4cdn.org/gif/1664615713301278.gif, outputFileName = 90a6d971725756a27c0d661397df82d4.cache]) has started. Chunks count = 2. Network class = WIFI. Downloads = 0
D/(03:02:24.000) KurobaEx-fdroid | ConcurrentChunkedFileDownloader: [NormalFileCacheV2Thread-0]: Starting downloading (https://i.4cdn.org/gif/1664615713301278.gif)
D/(03:02:24.071) KurobaEx-fdroid | MediaView: onHide(49/98, Remote(urlRaw=https://i.4cdn.org/gif/1664615680025751.gif))
D/(03:02:26.915) KurobaEx-fdroid | Dependency Injection: Using HTTP_2 and HTTP_1_1
D/(03:02:27.167) KurobaEx-fdroid | ThemeParser: Theme (/data/data/com.github.k1rakishou.chan.fdroid/files/kurobaex_theme_dark.json) does not exist on the disk
D/(03:02:27.167) KurobaEx-fdroid | ThemeParser: Theme (/data/data/com.github.k1rakishou.chan.fdroid/files/kurobaex_theme_light.json) does not exist on the disk
D/(03:02:27.315) KurobaEx-fdroid | ChanPostRepository: ChanPostRepository.initialize()
D/(03:02:27.434) KurobaEx-fdroid | SiteManager: SiteManager.initialize()
D/(03:02:27.435) KurobaEx-fdroid | BoardManager: BoardManager.initialize()
D/(03:02:27.441) KurobaEx-fdroid | SiteManager: loadSitesInternal() start
D/(03:02:27.444) KurobaEx-fdroid | BoardManager: loadBoardsInternal() start
D/(03:02:27.447) KurobaEx-fdroid | BoardManager: loadBoardsInternal() siteDataListAsync.get() start
D/(03:02:27.446) KurobaEx-fdroid | BookmarksManager: BookmarksManager.initialize()
D/(03:02:27.452) KurobaEx-fdroid | HistoryNavigationManager: HistoryNavigationManager.initialize()
D/(03:02:27.453) KurobaEx-fdroid | BookmarksManager: initializeBookmarksInternal() start
D/(03:02:27.456) KurobaEx-fdroid | BookmarkWatcherCoordinator: BookmarkWatcherCoordinator.initialize()
D/(03:02:27.457) KurobaEx-fdroid | FilterWatcherCoordinator: FilterWatcherCoordinator.initialize()
D/(03:02:27.463) KurobaEx-fdroid | ArchivesManager: ArchivesManager.initialize()
D/(03:02:27.464) KurobaEx-fdroid | ChanFilterManager: ChanFilterManager.initialize()
D/(03:02:27.464) KurobaEx-fdroid | ArchivesManager: initializeArchivesManagerInternal() start
D/(03:02:27.467) KurobaEx-fdroid | ChanFilterManager: loadFiltersInternal() start
D/(03:02:27.471) KurobaEx-fdroid | Chan: Application initialization took 2484ms
D/(03:02:27.569) KurobaEx-fdroid | ArchivesManager: SuspendableInitializer initWithModularResult() called
D/(03:02:27.569) KurobaEx-fdroid | ArchivesManager: SuspendableInitializer initWithValue() called
D/(03:02:27.569) KurobaEx-fdroid | ArchivesManager: notifyAllWaiters throwable==null: true, waiters=0
D/(03:02:27.570) KurobaEx-fdroid | ArchivesManager: SuspendableInitializer initWithValue() done
D/(03:02:27.570) KurobaEx-fdroid | ArchivesManager: initializeArchivesManagerInternal() done. Loaded 13 archives
D/(03:02:27.576) KurobaEx-fdroid | ArchivesManager: initializeArchivesManagerInternal() end, took 106.353760ms
D/(03:02:27.608) KurobaEx-fdroid | ChanPostRepository: Not enough posts to start deleting, posts in database amount: 10540, max allowed posts amount: 75000
D/(03:02:27.886) KurobaEx-fdroid | BookmarksRepository: initialize() -> 81 took 268.402099ms
D/(03:02:27.892) KurobaEx-fdroid | BookmarksManager: SuspendableInitializer initWithValue() called
D/(03:02:27.893) KurobaEx-fdroid | BookmarksManager: notifyAllWaiters throwable==null: true, waiters=0
D/(03:02:27.893) KurobaEx-fdroid | BookmarksManager: SuspendableInitializer initWithValue() done
D/(03:02:27.894) KurobaEx-fdroid | BookmarksManager: initializeBookmarksInternal() done. Loaded 81 bookmarks and 77 active bookmarks
D/(03:02:27.895) KurobaEx-fdroid | BookmarksManager: initializeBookmarksInternal() end, took 442.260742ms
D/(03:02:27.898) KurobaEx-fdroid | CrashReportActivity: CrashReportActivity launched
D/(03:02:27.924) KurobaEx-fdroid | ChanFilterManager: SuspendableInitializer initWithValue() called
D/(03:02:27.924) KurobaEx-fdroid | ChanFilterManager: notifyAllWaiters throwable==null: true, waiters=0
D/(03:02:27.924) KurobaEx-fdroid | ChanFilterManager: SuspendableInitializer initWithValue() done
D/(03:02:27.924) KurobaEx-fdroid | ChanFilterManager: loadFiltersInternal() done. Loaded 0 filters
D/(03:02:27.925) KurobaEx-fdroid | ChanFilterManager: loadFiltersInternal() end, took 457.916260ms
E/(03:02:27.991) KurobaEx-fdroid | CrashReportActivity: Got new exception: java.lang.OutOfMemoryError
D/(03:02:27.999) KurobaEx-fdroid | SiteRepository: initializeSites() -> 25 took 58.746337ms
D/(03:02:28.012) KurobaEx-fdroid | allSitesLoadedInitializer: SuspendableInitializer initWithModularResult() called
D/(03:02:28.013) KurobaEx-fdroid | allSitesLoadedInitializer: SuspendableInitializer initWithValue() called
D/(03:02:28.013) KurobaEx-fdroid | allSitesLoadedInitializer: notifyAllWaiters throwable==null: true, waiters=0
D/(03:02:28.013) KurobaEx-fdroid | allSitesLoadedInitializer: SuspendableInitializer initWithValue() done
D/(03:02:28.013) KurobaEx-fdroid | SiteRepository: allSitesLoadedInitializer initialized
D/(03:02:28.058) KurobaEx-fdroid | Chan: ^^^ App went foreground ^^^
D/(03:02:28.061) KurobaEx-fdroid | ApplicationVisibilityManager: onEnteredForeground() callback execution took 1.556397ms, callbacks count: 2
D/(03:02:28.063) KurobaEx-fdroid | LynxchanSite: Using domain: 'https://yeshoney.xyz/'
D/(03:02:28.095) KurobaEx-fdroid | ChanPostRepository: Not enough threads to start deleting, threads in database amount: 10499, max allowed threads amount: 12500
D/(03:02:28.098) KurobaEx-fdroid | ChanPostRepository: SuspendableInitializer initWithValue() called
D/(03:02:28.098) KurobaEx-fdroid | ChanPostRepository: notifyAllWaiters throwable==null: true, waiters=0
D/(03:02:28.098) KurobaEx-fdroid | ChanPostRepository: SuspendableInitializer initWithValue() done
D/(03:02:28.171) KurobaEx-fdroid | LynxchanSite: Using domain: 'https://kohlchan.net/'
D/(03:02:28.184) KurobaEx-fdroid | LynxchanSite: Using domain: 'https://endchan.net/'
D/(03:02:28.370) KurobaEx-fdroid | BookmarksManager: persistBookmarks async called
D/(03:02:28.382) KurobaEx-fdroid | ThreadBookmarkLocalSource: persist(81)
D/(03:02:28.385) KurobaEx-fdroid | ThreadBookmarkLocalSource: persist() inserted/updated 0 bookmarks, deleted 0 bookmarks
D/(03:02:28.386) KurobaEx-fdroid | BookmarksRepository: persist(81) took 4.058838ms
D/(03:02:28.391) KurobaEx-fdroid | Dvach: Using domain: 'https://2ch.hk/'
D/(03:02:28.461) KurobaEx-fdroid | BoardManager: loadBoardsInternal() siteDataListAsync.get() end
D/(03:02:28.465) KurobaEx-fdroid | SiteManager: SuspendableInitializer initWithValue() called
D/(03:02:28.465) KurobaEx-fdroid | SiteManager: notifyAllWaiters throwable==null: true, waiters=0
D/(03:02:28.465) KurobaEx-fdroid | SiteManager: SuspendableInitializer initWithValue() done
D/(03:02:28.465) KurobaEx-fdroid | SiteManager: siteRepository.initializeSites() done. Loaded 25 sites
D/(03:02:28.466) KurobaEx-fdroid | SiteManager: loadSitesInternal() end, took 1.023071289s
D/(03:02:29.026) KurobaEx-fdroid | BoardRepository: loadAllBoards() -> 1967 took 539.154053ms
D/(03:02:29.035) KurobaEx-fdroid | BoardManager: SuspendableInitializer initWithValue() called
D/(03:02:29.035) KurobaEx-fdroid | BoardManager: notifyAllWaiters throwable==null: true, waiters=0
D/(03:02:29.035) KurobaEx-fdroid | BoardManager: SuspendableInitializer initWithValue() done
D/(03:02:29.036) KurobaEx-fdroid | BoardManager: loadBoardsInternal() done. Loaded 1967 boards
D/(03:02:29.036) KurobaEx-fdroid | BoardManager: loadBoardsInternal() end, took 1.591705322s
D/(03:02:29.384) KurobaEx-fdroid | BookmarksManager: subscriptions=2
D/(03:02:29.384) KurobaEx-fdroid | BookmarksManager: persistBookmarks async finished
D/(03:02:29.704) KurobaEx-fdroid | ThreadBookmarkGroupManager: loadThreadBookmarkGroupsInternal() start
D/(03:02:29.732) KurobaEx-fdroid | BookmarkWatcherCoordinator: onBookmarksChanged() watchBackground is false, stopping background watcher
D/(03:02:29.735) KurobaEx-fdroid | BookmarkWatcherCoordinator: onBookmarksChanged() calling startWatchingIfNotWatchingYet()
D/(03:02:29.747) KurobaEx-fdroid | BookmarkForegroundWatcher: working == true, calling updateBookmarksWorkerLoop()
D/(03:02:29.747) KurobaEx-fdroid | BookmarkForegroundWatcher: updateBookmarksWorkerLoop() app was not long enough in the foreground to start updating bookmarks (foregroundTime=1688ms)
D/(03:02:29.833) KurobaEx-fdroid | ThreadBookmarkGroupRepository: initialize() -> 1 took 42.358399ms
D/(03:02:29.837) KurobaEx-fdroid | ThreadBookmarkGroupManager: loadThreadBookmarkGroupsInternal() done. Loaded 1 bookmark groups
D/(03:02:29.838) KurobaEx-fdroid | ThreadBookmarkGroupManager: loadThreadBookmarkGroupsInternal() end, took 133.789063ms
D/(03:02:30.748) KurobaEx-fdroid | BookmarkForegroundWatcher: updateBookmarksWorkerLoop() app was not long enough in the foreground to start updating bookmarks (foregroundTime=2689ms)

Additional information

------------------------------
Android API Level: 22
App Version: v1.3.21
Phone Model: samsung SM-J105B
Build type: Unknown
Flavor type: Fdroid
isLowRamDevice: true, isLowRamDeviceForced: false
MemoryClass: 96
App running time: 00:00:06.176
System animations state: duration: 1.0, transition: 1.0, window: 1.0
------------------------------
Current layout mode: SLIDE
Board view mode: LIST
Bottom navigation enabled: true
Prefetching enabled: false
Hi-res thumbnails enabled: false
mediaViewerMaxOffscreenPages: 1
CloudFlare force preload enabled: false
useMpvVideoPlayer: true
userAgent: Mozilla/5.0 (Linux; Android 5.1.1; SM-J105B Build/LMY47V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/95.0.4638.74 Mobile Safari/537.36
kurobaExCustomUserAgent: KurobaEx-fdroid v1.3.21
maxPostsCountInPostsCache: 5000
maxAmountOfPostsInDatabase: 75000
maxAmountOfThreadsInDatabase: 12500
diskCacheSizeMegabytes: 256
prefetchDiskCacheSizeMegabytes: 512
diskCacheCleanupRemovePercent: 25
ImageSaver root directory: content://com.android.externalstorage.documents/tree/0151-1060%3A
OkHttp IPv6 support enabled: false
OkHttp HTTP/2 support enabled: true
Foreground watcher enabled: true
Watch foreground interval: 60000
Watch foreground adaptive interval: true
Background watcher enabled: false
Filter watch enabled: false
Thread downloader interval: 3600000
Thread downloader download media on metered network: false
------------------------------

0
© 2022 pullanswer.com - All rights reserved.