Upd: I've tried this example and result the same. Each POST increases memory usage and then Web Server not responding.
POST
Google Chrome:
This page isn’t working 10.10.10.100 didn’t send any data. ERR_EMPTY_RESPONSE
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v00 (c) 2018 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate > Connected! Connect to http://10.10.10.100 WARNING: setsockopt(SO_REUSPORT) failed { "mytext": "Testing" } We got sent the text Testing >process.memory(); ={ free: 2172, usage: 428, total: 2600, history: 215, gc: 0, gctime: 2.224 } { "mytext": "Testing" } We got sent the text Testing > >process.memory(); ={ free: 2015, usage: 585, total: 2600, history: 218, gc: 0, gctime: 2.324 } { "mytext": "Testing" } We got sent the text Testing >process.memory(); ={ free: 1858, usage: 742, total: 2600, history: 218, gc: 0, gctime: 2.419 } { "mytext": "Testing" } We got sent the text Testing >process.memory(); ={ free: 1701, usage: 899, total: 2600, history: 218, gc: 0, gctime: 2.52 } { "mytext": "Testing" } We got sent the text Testing >process.memory(); ={ free: 1544, usage: 1056, total: 2600, history: 218, gc: 0, gctime: 2.637 } { "mytext": "Testing" } We got sent the text Testing >process.memory(); ={ free: 1387, usage: 1213, total: 2600, history: 218, gc: 0, gctime: 2.863 } { "mytext": "Testing" } We got sent the text Testing >process.memory(); ={ free: 1230, usage: 1370, total: 2600, history: 218, gc: 0, gctime: 2.822 } { "mytext": "Testing" } We got sent the text Testing >process.memory(); ={ free: 1073, usage: 1527, total: 2600, history: 218, gc: 0, gctime: 2.935 } >
@Engineer started
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.
Upd: I've tried this example and result the same. Each
POST
increases memory usage and then Web Server not responding.Google Chrome: