-
Yes my version is 2.04. Would trying an older vesion help? Not sure what you want me to console.log(), if I just put that I get "=undefined". When I do >E.getSizeOf(global, 2), I get the following:
>E.getSizeOf(global, 2) =[ { name: "\xFF", size: 63, more: [ { name: "timers", size: 12 }, { name: "watches", size: 3 }, { name: "net", size: 3 }, { name: "modules", size: 15 }, { name: "BLE_DEV_N", size: 4 }, { name: "history", size: 24 } ] }, { name: "wico", size: 4, more: [ { name: "\xFFcod", size: 2 } ] }, { name: "fmem", size: 4, more: [ { name: "\xFFcod", size: 2 } ] }, { name: "ssid", size: 2 }, { name: "pswd", size: 3 }, { name: "wifi", size: 12, more: [ { name: "#ondisconnected", size: 5 }, { name: "#onconnected", size: 5 } ] }, { name: "iwico", size: 2 }, { name: "process", size: 3, more: [ ] }, { name: "free_mem", size: 2 }, { name: "console", size: 3, more: [ ] }, { name: "ReferenceError", size: 8, more: [ { name: "prototype", size: 6 } ] }, { name: "E", size: 2, more: [ ] } ]
There were not any memory loss during the night (WIFI probably didn't loose connection). Resetting it this morning dropped it from 3696 (what it dropped to after running a few commands such as the E.getSizeOf(global, 2)) to 3605 by the time it reconnected.
Are we still at ver 2.04 ?
On a S.W.AG. hunch, try console.log() the value of 'iwico' to see if the handle is changing. Wondering if the call to setInterval() is gobbling up those bytes?