vlki / react-native-asyncstorage-setitem-memory-problem-demo

3 stars 0 forks source link

Did you find a solution? #1

Open jckw opened 5 years ago

jckw commented 5 years ago

Hi, I saw your GitHub issue and since I think I'm running into the same issue, I was wondering whether you ever found a solution or workaround.

vlki commented 5 years ago

Hey Jack, sorry to hear that. Well, technically we found a workaround. We did not see the issue when running it on newer iPads with more than 1gb of memory, so we switched to use just the newer ones. And, in the end, also stopped storing so much into AsyncStorage and used WatermelonDB instead, which uses SQLite underneath.

JulianKingman commented 4 years ago

FWIW Expo has SQLite built in. I was running into this issue and used SQLite. Different API, not as fun to deal with, but super fast and performant.