Stacktrace

java.lang.OutOfMemoryError: Failed to allocate a 8208 byte allocation with 80408 free bytes and 78KB until OOM, target footprint 268435456, growth limit 268435456; failed due to fragmentation (largest possible contiguous allocation 8912896 bytes)
	at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:54)
	at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:49)
	at java.nio.ByteBuffer.allocate(ByteBuffer.java:282)
	at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:254)
	at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:234)
	at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:81)
	at java.io.InputStreamReader.<init>(InputStreamReader.java:116)
	at com.github.k1rakishou.chan.core.cache.InnerCache$readCacheFileMeta$1.invoke(InnerCache.kt:6)
	at com.github.k1rakishou.chan.core.cache.CacheHandlerSynchronizer.withLocalLock(CacheHandlerSynchronizer.kt:6)
	at com.github.k1rakishou.chan.core.cache.InnerCache.readCacheFileMeta(InnerCache.kt:1)
	at com.github.k1rakishou.chan.core.cache.InnerCache.trim(InnerCache.kt:61)
	at com.github.k1rakishou.chan.core.cache.InnerCache$$ExternalSyntheticLambda0.run(Unknown Source:2)
	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:923)

Logs

E/(02:00:52.566) KurobaEx-fdroid | Chan: Unhandled exception in thread: pool-12-thread-1
E/(02:00:52.566) KurobaEx-fdroid | Chan: java.lang.OutOfMemoryError: Failed to allocate a 8208 byte allocation with 80408 free bytes and 78KB until OOM, target footprint 268435456, growth limit 268435456; failed due to fragmentation (largest possible contiguous allocation 8912896 bytes)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:54)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:49)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at java.nio.ByteBuffer.allocate(ByteBuffer.java:282)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:254)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:234)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:81)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at java.io.InputStreamReader.<init>(InputStreamReader.java:116)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at com.github.k1rakishou.chan.core.cache.InnerCache$readCacheFileMeta$1.invoke(InnerCache.kt:6)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at com.github.k1rakishou.chan.core.cache.CacheHandlerSynchronizer.withLocalLock(CacheHandlerSynchronizer.kt:6)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at com.github.k1rakishou.chan.core.cache.InnerCache.readCacheFileMeta(InnerCache.kt:1)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at com.github.k1rakishou.chan.core.cache.InnerCache.trim(InnerCache.kt:61)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at com.github.k1rakishou.chan.core.cache.InnerCache$$ExternalSyntheticLambda0.run(Unknown Source:2)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/(02:00:52.566) KurobaEx-fdroid | Chan: 	at java.lang.Thread.run(Thread.java:923)
D/(02:00:53.599) KurobaEx-fdroid | Dependency Injection: Using HTTP_2 and HTTP_1_1
D/(02:00:53.627) KurobaEx-fdroid | ThemeParser: Theme (/data/user/0/com.github.k1rakishou.chan.fdroid/files/kurobaex_theme_dark.json) does not exist on the disk
D/(02:00:53.627) KurobaEx-fdroid | ThemeParser: Theme (/data/user/0/com.github.k1rakishou.chan.fdroid/files/kurobaex_theme_light.json) does not exist on the disk
D/(02:00:53.634) KurobaEx-fdroid | ChanPostRepository: ChanPostRepository.initialize()
D/(02:00:53.649) KurobaEx-fdroid | SiteManager: SiteManager.initialize()
D/(02:00:53.649) KurobaEx-fdroid | BoardManager: BoardManager.initialize()
D/(02:00:53.649) KurobaEx-fdroid | SiteManager: loadSitesInternal() start
D/(02:00:53.649) KurobaEx-fdroid | BookmarksManager: BookmarksManager.initialize()
D/(02:00:53.650) KurobaEx-fdroid | BoardManager: loadBoardsInternal() start
D/(02:00:53.650) KurobaEx-fdroid | BoardManager: loadBoardsInternal() siteDataListAsync.get() start
D/(02:00:53.651) KurobaEx-fdroid | HistoryNavigationManager: HistoryNavigationManager.initialize()
D/(02:00:53.651) KurobaEx-fdroid | BookmarkWatcherCoordinator: BookmarkWatcherCoordinator.initialize()
D/(02:00:53.651) KurobaEx-fdroid | BookmarksManager: initializeBookmarksInternal() start
D/(02:00:53.651) KurobaEx-fdroid | FilterWatcherCoordinator: FilterWatcherCoordinator.initialize()
D/(02:00:53.652) KurobaEx-fdroid | ArchivesManager: ArchivesManager.initialize()
D/(02:00:53.652) KurobaEx-fdroid | ChanFilterManager: ChanFilterManager.initialize()
D/(02:00:53.653) KurobaEx-fdroid | ArchivesManager: initializeArchivesManagerInternal() start
D/(02:00:53.653) KurobaEx-fdroid | ChanFilterManager: loadFiltersInternal() start
D/(02:00:53.654) KurobaEx-fdroid | Chan: Application initialization took 838ms
D/(02:00:53.667) KurobaEx-fdroid | ArchivesManager: SuspendableInitializer initWithModularResult() called
D/(02:00:53.667) KurobaEx-fdroid | ArchivesManager: SuspendableInitializer initWithValue() called
D/(02:00:53.667) KurobaEx-fdroid | ArchivesManager: notifyAllWaiters throwable==null: true, waiters=0
D/(02:00:53.667) KurobaEx-fdroid | ArchivesManager: SuspendableInitializer initWithValue() done
D/(02:00:53.667) KurobaEx-fdroid | ArchivesManager: initializeArchivesManagerInternal() done. Loaded 13 archives
D/(02:00:53.668) KurobaEx-fdroid | ArchivesManager: initializeArchivesManagerInternal() end, took 14.134844ms
D/(02:00:53.688) KurobaEx-fdroid | CrashReportActivity: CrashReportActivity launched
E/(02:00:53.703) KurobaEx-fdroid | CrashReportActivity: Got new exception: java.lang.OutOfMemoryError
D/(02:00:53.714) KurobaEx-fdroid | Chan: ^^^ App went foreground ^^^
D/(02:00:53.714) KurobaEx-fdroid | ApplicationVisibilityManager: onEnteredForeground() callback execution took 45.208us, callbacks count: 2
D/(02:00:53.805) KurobaEx-fdroid | ChanPostRepository: Not enough posts to start deleting, posts in database amount: 74136, max allowed posts amount: 75000
D/(02:00:53.813) KurobaEx-fdroid | BookmarksRepository: initialize() -> 7 took 5.776407ms
D/(02:00:53.814) KurobaEx-fdroid | BookmarksManager: SuspendableInitializer initWithValue() called
D/(02:00:53.814) KurobaEx-fdroid | BookmarksManager: notifyAllWaiters throwable==null: true, waiters=0
D/(02:00:53.814) KurobaEx-fdroid | BookmarksManager: SuspendableInitializer initWithValue() done
D/(02:00:53.814) KurobaEx-fdroid | BookmarksManager: initializeBookmarksInternal() done. Loaded 7 bookmarks and 0 active bookmarks
D/(02:00:53.814) KurobaEx-fdroid | BookmarksManager: initializeBookmarksInternal() end, took 163.016927ms
D/(02:00:53.817) KurobaEx-fdroid | ChanFilterManager: SuspendableInitializer initWithValue() called
D/(02:00:53.817) KurobaEx-fdroid | ChanFilterManager: notifyAllWaiters throwable==null: true, waiters=0
D/(02:00:53.817) KurobaEx-fdroid | ChanFilterManager: SuspendableInitializer initWithValue() done
D/(02:00:53.817) KurobaEx-fdroid | ChanFilterManager: loadFiltersInternal() done. Loaded 0 filters
D/(02:00:53.818) KurobaEx-fdroid | ChanFilterManager: loadFiltersInternal() end, took 164.478854ms
D/(02:00:53.822) KurobaEx-fdroid | SiteRepository: initializeSites() -> 27 took 3.685625ms
D/(02:00:53.823) KurobaEx-fdroid | allSitesLoadedInitializer: SuspendableInitializer initWithModularResult() called
D/(02:00:53.823) KurobaEx-fdroid | allSitesLoadedInitializer: SuspendableInitializer initWithValue() called
D/(02:00:53.823) KurobaEx-fdroid | allSitesLoadedInitializer: notifyAllWaiters throwable==null: true, waiters=0
D/(02:00:53.823) KurobaEx-fdroid | allSitesLoadedInitializer: SuspendableInitializer initWithValue() done
D/(02:00:53.823) KurobaEx-fdroid | SiteRepository: allSitesLoadedInitializer initialized
D/(02:00:53.830) KurobaEx-fdroid | LynxchanSite: Using domain: 'https://yeshoney.xyz/'
D/(02:00:53.843) KurobaEx-fdroid | LynxchanSite: Using domain: 'https://kohlchan.net/'
D/(02:00:53.845) KurobaEx-fdroid | ChanPostRepository: Not enough threads to start deleting, threads in database amount: 12463, max allowed threads amount: 12500
D/(02:00:53.846) KurobaEx-fdroid | ChanPostRepository: SuspendableInitializer initWithValue() called
D/(02:00:53.846) KurobaEx-fdroid | ChanPostRepository: notifyAllWaiters throwable==null: true, waiters=0
D/(02:00:53.846) KurobaEx-fdroid | ChanPostRepository: SuspendableInitializer initWithValue() done
D/(02:00:53.854) KurobaEx-fdroid | LynxchanSite: Using domain: 'https://endchan.net/'
E/(02:00:53.856) KurobaEx-fdroid | SiteManager: Unknown site descriptor: SD{yuki.la}
E/(02:00:53.866) KurobaEx-fdroid | SiteManager: Unknown site descriptor: SD{archive.rebeccablacktech.com}
D/(02:00:53.881) KurobaEx-fdroid | Dvach: Using domain: 'https://2ch.hk/'
D/(02:00:53.886) KurobaEx-fdroid | SiteManager: SuspendableInitializer initWithValue() called
D/(02:00:53.886) KurobaEx-fdroid | SiteManager: notifyAllWaiters throwable==null: true, waiters=0
D/(02:00:53.886) KurobaEx-fdroid | SiteManager: SuspendableInitializer initWithValue() done
D/(02:00:53.886) KurobaEx-fdroid | SiteManager: siteRepository.initializeSites() done. Loaded 27 sites
D/(02:00:53.886) KurobaEx-fdroid | SiteManager: loadSitesInternal() end, took 236.578177ms
D/(02:00:53.886) KurobaEx-fdroid | BoardManager: loadBoardsInternal() siteDataListAsync.get() end
D/(02:00:53.914) KurobaEx-fdroid | BookmarksManager: persistBookmarks async called
D/(02:00:53.916) KurobaEx-fdroid | FilterWatcherCoordinator: chanFilterManager.listenForFiltersChanges() new filterEvent
D/(02:00:53.933) KurobaEx-fdroid | BoardRepository: loadAllBoards() -> 574 took 45.719948ms
D/(02:00:53.935) KurobaEx-fdroid | ThreadBookmarkLocalSource: persist(7)
D/(02:00:53.936) KurobaEx-fdroid | BoardManager: SuspendableInitializer initWithValue() called
D/(02:00:53.936) KurobaEx-fdroid | BoardManager: notifyAllWaiters throwable==null: true, waiters=0
D/(02:00:53.936) KurobaEx-fdroid | BoardManager: SuspendableInitializer initWithValue() done
D/(02:00:53.936) KurobaEx-fdroid | BoardManager: loadBoardsInternal() done. Loaded 574 boards
D/(02:00:53.936) KurobaEx-fdroid | ThreadBookmarkLocalSource: persist() inserted/updated 0 bookmarks, deleted 0 bookmarks
D/(02:00:53.936) KurobaEx-fdroid | BookmarksRepository: persist(7) took 1.156823ms
D/(02:00:53.936) KurobaEx-fdroid | BoardManager: loadBoardsInternal() end, took 286.709635ms
D/(02:00:53.937) KurobaEx-fdroid | BookmarksManager: subscriptions=2
D/(02:00:53.937) KurobaEx-fdroid | BookmarksManager: persistBookmarks async finished
D/(02:00:53.937) KurobaEx-fdroid | ThreadBookmarkGroupManager: loadThreadBookmarkGroupsInternal() start
D/(02:00:53.938) KurobaEx-fdroid | BookmarkWatcherCoordinator: onBookmarksChanged() no active bookmarks, nothing to do
D/(02:00:53.938) KurobaEx-fdroid | BookmarkWatcherCoordinator: cancelForegroundBookmarkWatching() called
D/(02:00:53.958) KurobaEx-fdroid | ThreadBookmarkGroupRepository: initialize() -> 21 took 17.931719ms
D/(02:00:53.960) KurobaEx-fdroid | ThreadBookmarkGroupManager: loadThreadBookmarkGroupsInternal() done. Loaded 21 bookmark groups
D/(02:00:53.960) KurobaEx-fdroid | ThreadBookmarkGroupManager: loadThreadBookmarkGroupsInternal() end, took 22.525521ms

Additional information

------------------------------
Android API Level: 30
App Version: v1.3.21
Phone Model: samsung SM-T720
Build type: Unknown
Flavor type: Fdroid
isLowRamDevice: false, isLowRamDeviceForced: false
MemoryClass: 256
App running time: 00:00:04.138
System animations state: duration: 0.0, transition: 1.0, window: 1.0
------------------------------
Current layout mode: SPLIT
Board view mode: GRID
Bottom navigation enabled: true
Prefetching enabled: true
Hi-res thumbnails enabled: true
mediaViewerMaxOffscreenPages: 2
CloudFlare force preload enabled: false
useMpvVideoPlayer: false
userAgent: Mozilla/5.0 (Linux; Android 11; SM-T720 Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.136 Safari/537.36
kurobaExCustomUserAgent: KurobaEx-fdroid v1.3.21
maxPostsCountInPostsCache: 13107
maxAmountOfPostsInDatabase: 75000
maxAmountOfThreadsInDatabase: 12500
diskCacheSizeMegabytes: 256
prefetchDiskCacheSizeMegabytes: 512
diskCacheCleanupRemovePercent: 25
ImageSaver root directory: content://com.android.externalstorage.documents/tree/3562-3935%3AKuroba%20(1)
OkHttp IPv6 support enabled: false
OkHttp HTTP/2 support enabled: true
Foreground watcher enabled: true
Watch foreground interval: 60000
Watch foreground adaptive interval: false
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.