QuantumBadger / QuantumBadger/RedReader

Crashes on devices which run out of storage

Open
#12 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Java
Stars
2.7k
Forks
527
Avg merge
20d 10h
Merged PRs (30d)
3

Description

RedReader aggressively caches images, and crashes occur when a device runs out of storage space.

When the disk fills up, or the app starts and less than 128MB of storage is available:

  1. Delete any cached images
  2. Disable image precaching
  3. Set to delete cached images after 1 hour (or sooner)
  4. Display a message to that effect

Also: Display an error message specific to the lack of storage when a download fails.

Other suggestions would be welcome.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the image-cache and precaching entry points, the app-start storage check, and download failure handling. Done means low-storage conditions no longer crash the app, cached images are removed, precaching is disabled, expiry is shortened, and users see storage-specific messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.