Limitation of size or number of Lines?

I added a new feature to my App, works well on Simulator but crashes immediately on start on Hardware. After some debugging I found no error in the new code, but found it was working if i removed some other functions. So i think something got to big :confused:
I moved the new function to a new file and own class but with same results. Are there some Limitations on the watch that are not on the Simulator?
The Simulator counts 47.1 of 64kb. There are no entrys in error.log or CIQ_LOG :confused:
  • If you have 16K free, it is not likely to be an out-of-memory issue. In my experience, it is not the number of functions that is the problem.

    Keep in mind that when you display the memory usage, it is not telling you the peak memory use, but the memory use at the time that you made the call to getSystemStats(). The system will make allocations on your behalf, and you have no hook to get the memory used when that happens.

    At this point, the best option I see is for you to use the logging facilities. I realize that you're having problems getting it to work, but many of us have used it on many different devices without problems. Barring that, the only other help we can offer is to look over your code or debug it ourselves. Unless you provide source code, we can't really help much.

    Travis
  • Travis helped me and it looks like the Problem was to not initialize two base classes. After turning on warning in eclipse and fixing them all, the app never crashed on my watch again :-)