Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

out of memory in react native android

Tags:

react-native

[MEMORY ISSUE ON ANDROID] hi all, We're developing the application called Pippip at pippip.vn . It works very well on iOS but it has the problem on Android, it's out of memory when we load more large images, does anyone know how to fix it? Thanks all

like image 760
Hau Vo Avatar asked May 12 '16 03:05

Hau Vo


Video Answer


1 Answers

We had similar issues, fix here. Before rendering the full image, we compressed the photo based on the screen size to discard information that is not visible on the screen (resolution wise).

like image 126
martwetzels Avatar answered Nov 15 '22 08:11

martwetzels