Bug Report
Describe the issue: I’m pretty sure I cleared my image cache 12h ago, after it was at 4GB, and I looked at it just now at 10GB. That’s at least 6GB in 12h, if not 10GB. I did do a bit of scrolling to test some things but it wasnt a lot by any stretch.
There’s definitely something that can cause the cache to explode in size. I don’t have show NSFW enabled on my account and I was mainly scrolling All(with a heavy amount of comms blocked) so I can’t figure out what’s causing this.
In the meantime, until the cause is identified, I think having a functional cache size limit would prevent the cache from exploding in size.
Device Information
- App Version: 1.0.321 (321)
- Platform: android
- OS Version: BP4A.251205.006
Modified Settings
The following settings have been changed from defaults:
- isNotificationEnabled:
1(default:0) - commentDividers:
0(default:1) - isCommentActionsReversed:
true(default:false) - shouldAlwaysOpenInDefaultBrowser:
true(default:false) - shouldDisplayTitleAbove:
true(default:false) - alwaysShowInstance:
true(default:false) - applyUserNotesGlobally:
true(default:false) - isEdgetoEdge:
false(default:true) - alwaysTrustDomains:
true(default:false) - shouldUseHighRefresh:
false(default:true) - shouldLimitCardImages:
true(default:false) - commentTextStyle:
bodySmall(default:bodyMedium) - postTitleTextStyle:
titleSmall(default:titleMedium) - customColoursPreset:
2(default:0) - enableCommentNavigator:
false(default:true) - isTopBarFixed:
true(default:false) - showFullVotes:
true(default:false) - shouldAlwaysDisplayAvatars:
true(default:false) - shouldInstanceBlockIncludeUsers:
false(default:true) - shouldHighlightNewComments:
true(default:false) - isImageVerticalSwipeToClose:
false(default:true) - defaultRoute:
/community?postListingType=All&hint=All(default:null) - defaultPostSort:
New(default:Active) - defaultCommentSort:
Top(default:Hot) - cardType:
list(default:card) - swipeActionsComment:
[](default:[]) - postActions:
[](default:[]) - swipeActionsPost:
[hide, none, none](default:[]) - shouldRemembercommentPosition:
false(default:true) - shouldUseProfileBanner:
true(default:false) - shouldResolveOpenGraph:
true(default:false) - shouldDisplayCommunityBanner:
false(default:true) - shouldForceBlackImageBackground:
false(default:true) - theme:
amoled(default:system) - textSizeMultiplier:
0.875(default:1.0)


I’ll look into adding some association between a post or comment and the file. Right now I’m just iterating over files in a cache directory and showing their sizes.
From printing checksums locally this did lead me to a race condition where we were preloading an image at the same time as displaying it and neither approach saw the other one so multiple files got cached. That’ll be fixed tonight…