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

Fitbit OS Simulator had Memory Overload and now fails to start

ANSWERED

I have been using the OS Fitbit Simulator without an issue for over a year.

 

Today I had a small bug in my code, which caused a memory overload error. The simulator crashed, and ever since then it fails to load. The only error message I get is `Dang! Simulator Failed to Start`

I tried restarting my computer, and deleting and reinstalling the simulator again. 

 

I am assuming that my buggy app is cached somewhere on my computer, and the simulator is trying to load it upon start up. 

 

It would be great to know where this cache might be so I can delete it. I am running Mac OS Mojave 10.14.6

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

The cache might be

~/Library/Application Support/Fitbit OS Simulator
Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
4 REPLIES 4

The cache might be

~/Library/Application Support/Fitbit OS Simulator
Peter McLennan
Gondwana Software
Best Answer

Hi @Gondwana,

Though I have same problem as one of @prageeth,  I cannot find the directory on my windows...

Cloud you also give me info for windows?

Any way, I found following dir and cleared the dir, but problem still occurred.

/c/Users/user01/AppData/Roaming/Fitbit OS Simulator/Cache/

 

Best Answer
0 Votes

I'm a bit rusty.The sim is probably still loading the errant clockface, so more radical surgery may be required. This procedure might totally kill your sim installation.

Close the sim and then rename "Fitbit OS Simulator" in that path to something temporary. That should get rid of everything installed in the sim (while still allowing the sim to run). If that doesn't work, you can restore the folder name.

Peter McLennan
Gondwana Software
Best Answer

Thank you for replying.

It seems the simulator still loads cached build as you said.

So, I simply cleared cache of installing target device by deleting related directory. I mean, because my developing target device are "atlas" and "vulcan" in my case, I've deleted following dir..

/c/Users/user01/AppData/Roaming/Fitbit OS Simulator/atlas/
/c/Users/user01/AppData/Roaming/Fitbit OS Simulator/vulcan/

Additonally, deleted. (I have no idea following dir has to be deleted.)
/c/Users/user01/AppData/Roaming/Fitbit OS Simulator/Cache/
/c/Users/user01/AppData/Roaming/Fitbit OS Simulator/Code Cache/
Best Answer