Curious your thoughts on memory usage vs RN's <Image />
See original GitHub issueHey so my app loads a lot of images remotely, and allows users to take photos and upload them. I see a fair number of memory related issues in my app as a result. Particularly my API doesn’t thumbnail any images so remote images load in as large images and from what I can tell from RN’s <Image />
is that it’s not giving me a ton of support in downsampling. Thus lots of crashes.
I’m curious your evaluation on what RN’s <Image />
is doing on iOS and Android to help with local and remote image in regards to memory / disk consumption. And how this differs from react-native-fast-image (and the underlying Glide / SDWebImage)
Any insight would be very helpful, thank you!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:15
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Exploring the MIND of a Visual Thinker - YouTube
Exploring the MIND of a Visual Thinker: Thinking in Photo Realistic Images (2007)Presented by Temple Grandin, Ph.D.Recorded for the UC Davis ...
Read more >The Amber of Our Thoughts | Brandeis Magazine
The basics of memory storage are fairly easy to grasp, at least the way neuroscientist Shantanu Jadhav describes them. At a fundamental level,...
Read more >This new device can visualize your thoughts (sort of)
Researchers have been able to sketch out people's thoughts simply by scanning their brains.
Read more >Curiosity Changes the Brain to Boost Learning and Memory
Curiosity could be used to help shore-up damaged reward circuits, or the reward circuit could be stimulated directly to give memory a boost....
Read more >The psychology and neuroscience of curiosity - PMC - NCBI
As a consequence, much research that is directly relevant to the problem of curiosity does not use the term curiosity and instead focuses...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm the memory issue. I have a
FlatList
withFastImage
, at any time there will be 9 - 12 images visible (a 3 column by 3 row layout). The memory usage (as seen in xcode) shoots up to 600MB and the app crashes. This happens when I scroll the list down to around the 100th image.As a reference, when using standard RN
Image
, the memory usage is ~90MB max even scrolling pass the 100th image.@pavanmehta91 I have just written https://medium.com/@bitshadow/finding-memory-leaks-react-native-app-ios-46e6eeb50c8c . Hope this is helpful.