Hello I am working on a project available for android devices and in this project we save a large amount of data .
Basically we record and objects movements and save it so that the user can come back and review the playback later . We are trying to optimize our save data but currently we are recording roughly 4 MB's data for every 30 seconds of recording .
The purpose of saying that is i am seeing a pattern that when I save a certain amount of data ( 12 MB's on on the HTC 1X and 36 MB's on the MOTO G) my apps stop opening and DDMS is telling me that the app is crashing with a memory error .
I checked to make sure the act of saving isn't crashing and when i don't approach the memory thresholds I am seeing the app is fine but once too much data is saved the app starts crashing on load and when i erase the app data I can open the project again .
So I have come to ask two questions , has anyone else experienced this before ? and are there any suggestions on how I can fix this issue ?
the big head scratcher is the fact that though I save all of this data I don't load it into memory unless the player goes through the Load data flow , if that's the case why would the app throw a memory error for data that is not even referred to at start up ?
↧