8000 Clear Image Cache does not reduce 2GB of storage being used · Issue #434 · tommyxchow/frosty · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Clear Image Cache does not reduce 2GB of storage being used #434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Glutnix opened this issue Feb 22, 2025 · 3 comments
Open

Clear Image Cache does not reduce 2GB of storage being used #434

Glutnix opened this issue Feb 22, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Glutnix
Copy link
Glutnix commented Feb 22, 2025

Describe the bug
Frosty uses 2GB of storage. I assume this is just emote caching. Clearing the cache does nothing

To Reproduce

  • Check device storage in the Settings app. Notice 2gb of storage being used by Frosty
  • return to Frosty, click ‘clear image cache
  • wait a minute or so
  • return to Settings app, see storage usage unchanged, not even reduced slightly.

Expected behavior

  • return to Settings app, see storage usage be reduced to mere megabytes.

Screenshots
Image

Smartphone (please complete the following information):

  • Device: iPad 10th Gen 64GB
  • OS: iPadOS 18.3.1
  • App Version: 4.9.0

Additional context
I use Frosty in chat only mode, in iPad Split View side by side with the Twitch App taking up the most of the screen. Things aren’t exactly stable, so there might be a mess of crash logs in the app that aren’t being cleared up, just guessing.

I’m willing to help the developer with my time to help them access crash logs or test betas or anything to help :)

@Glutnix Glutnix added the bug Something isn't working label Feb 22, 2025
@Glutnix
Copy link
Author
Glutnix commented Apr 6, 2025

This has gotten out of hand now - this app is now taking up 5.2GB.

Image

Because I got no response from the dev, I have now removed the app from my iPad, and reinstalled it. I will report back soon with how much space it takes after some usage.

@Glutnix
Copy link
Author
Glutnix commented Apr 8, 2025

Image

2 days later of watching using the app in chat only mode.

@Glutnix
Copy link
Author
Glutnix commented Apr 8, 2025

Glad to see this fixed!

Something that should be double checked and made into an issue if it isn’t already:

Are you saving the cached images to a part of the app’s sandbox that is considered cache by the OS? I know iOS has a mechanism for flushing these out for the user when the OS needs space.
https://developer.apple.com/documentation/foundation/url/cachesdirectory

Maybe it’s better to use getApplicationCacheDirectory rather than getTemporaryDirectory?https://pub.dev/documentation/path_provider/latest/path_provider/getApplicationCacheDirectory.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0