Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Starting and Stopping the GPS multiple times causes Out of memory error in simulator

ANSWERED

I'm working with the GPS using the Fitbit Simulator. I thought calling geolocation.clearWatch(myWatchId); would turn the GPS receiver off. However, the Fitbit simulator throws an OUT OF MEMORY error if I stop/start the GPS multiple times. I don't know if this is an issue with the simulator or my app and I'm not sure how to debug this issue. Does anyone know if there are any issues stopping/starting the GPS multiple times? 

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

I found the issue, in a certain state my app was in an endless loop. That will do it everytime. So, no issues with GPS or the simulator.

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

I found the issue, in a certain state my app was in an endless loop. That will do it everytime. So, no issues with GPS or the simulator.

Best Answer
0 Votes