Settings become null in simulator after using Apps Setting Editor

Former Member
Former Member

I have written an app with multiple code and resource paths for different devices.  Everything was working OK for a while.

Recently, I have had a problem on some simulated devices (e.g. FR245, FR935) where the app starts OK and properties are loaded OK.  However, when the Eclipse App Setting editor is used to change settings, properties become null.  This problem does not arise on some other simulated devices (e.g. FR245M).  Resetting All App data in simulator does not appear to prevent this.

Does anyone have ideas as to why this is happening?  Also, where are property settings stored on the Windows version of Eclipse/simulator?

  • My first guess here is it's memory related.  Based on the app type, the 245M has much more available than the 245.

    Before changing anything, with the 245 as a target, what does "View memory" say in the sim? Peak and usage.

    How large are your properties?  Changing settings temporarily spikes memory usage.

  • Former Member
    Former Member in reply to jim_m_58

    Thanks for the tip.

    Memory showed 27 kb peak out of 27.5kb available.

    In accordance with your tip, I ripped out a small bit of code that generated RunScribe sensor data for testing and it seems to have avoided the error so you are probably right.

    Thanks,

    HSMD