Comments (2)
It's not a good idea to store images in the memory (maybe only previews). They take a shit ton of memory and you will probably have like 5-10 images in the cache at a time. And what if an image has dimensions like 9999x9999 (that's like 300MB)? You won't be able to allocate this much memory and the app will crash immediately. And if you think that your phone has enough memory then, unfortunatelly, you are probably wrong since Android applications are not allowed to use ALL of the phone memory, just some fraction (depends on device) after that OOM will follow (and even if your device can do that, there is the memory fragmentation). And, by the way, IIRC Clover/Kuroba do not save the originals of images when you scroll a thread, just their previews, but I may be wrong here (and if I'm then it is probably a bug).
It's probably a better idea to add an option to disable disk cache. But then you will be redownloading images in the same thread every time you open it.
from kuroba.
K1rak explained it quite well.
from kuroba.
Related Issues (20)
- Ban evasion after clearing cache on data HOT 1
- Images will not load HOT 1
- Captcha wont load, " Could not do Cloudfare bypass" HOT 6
- [Request] Ayu-mirage theme HOT 1
- Can't post images on 4channel HOT 4
- Post info contains "lorem ipsum"
- [Request] Auto Backup HOT 4
- [Enhancement] More options for exporting archived threads HOT 2
- [Requst] Import From KurobaEX HOT 2
- Unable to load images - hash/checksum HOT 1
- Unable to use crash reporter HOT 1
- Make full date format configurable
- Imaging saving freeze HOT 1
- Sluggish performance while loading images HOT 1
- [Request] Add Kohlchan.net
- [Feature request] Show only 'color post' highlighted posts
- App occasionally crashes on startup
- Cloudflare captcha needs support HOT 5
- Error posting HOT 3
- App stuck on loading screen HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kuroba.