• My fix is for responses that are small in size - so you still need that.

    If you are getting low memory errors you need to process your data in smaller chunks ie either optimise your json or request it in smaller chunks.

    You never want to get into a low memory scenario as things start breaking pretty fast. It is worthwhile monitoring 'process.memory().free' at various parts of your code to highlight issues.

    In my project - if I ever get an 'out of memory' error (which you should code to prevent) I reboot otherwise the code operation will be in an unknown state, also use the new watchdog feature.

  • @jonreid yes, i knew about it and my status post requests are publishing the memory free. may i ask how do you reboot? what command?

    hm... my code is not that big, actually at any point there shouldn't be a less memory state. i even taking care about intervals and timeout myself. it might due to memory leaking somewhere else.

About

Avatar for jonreid @jonreid started