Strange... However from the dump it looks a lot like the SIM808 is trying to connect for a while before it gives up? Maybe there's a 60 second connection timeout internally?
So what's happening is you're trying to post every 30 seconds, so you're queueing up multiple requests before the last ones have finished.
What happens if you just stop making more HTTP requests (maybe with testGet1 = function(){}) then wait 5 minutes and see how much memory is used?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Strange... However from the dump it looks a lot like the SIM808 is trying to connect for a while before it gives up? Maybe there's a 60 second connection timeout internally?
So what's happening is you're trying to post every 30 seconds, so you're queueing up multiple requests before the last ones have finished.
What happens if you just stop making more HTTP requests (maybe with
testGet1 = function(){}
) then wait 5 minutes and see how much memory is used?