Am 20.03.2018 um 06:47 schrieb Greg D.:
Ok, interesting. Am I seeing an out-of-memory crash? I can't tell...
It seems like the webserver status button is the worst offender, probably because it's doing a lot of work and building a big payload. Very often hangs for a while before responding, and if so, usually results in the job queue overflow. If I catch it quick enough and hit home or some other shorter task, the overflow will drain and I'll get the new screen; otherwise a crash. Sometimes there will be a timeout mixed in. I'm wondering if our little squirrel in the ESP32 just can't pedal hard enough...
Most crashes now are related to lack of free memory. Regarding the status page I just hit the page 10 times: OVMS# mo m Free 8-bit 27264/283200, 32-bit 27544/55820, SPIRAM 0/0 I (784440) webserver: HTTP GET /status D (785010) webserver: Serve /status: 6068 bytes used, 21200 free I (787240) webserver: HTTP GET /status D (787830) webserver: Serve /status: 6064 bytes used, 21168 free I (788720) webserver: HTTP GET /status D (789290) webserver: Serve /status: 6104 bytes used, 21164 free I (790110) webserver: HTTP GET /status D (790700) webserver: Serve /status: 6100 bytes used, 21164 free I (791530) webserver: HTTP GET /status D (792120) webserver: Serve /status: 6068 bytes used, 21200 free I (792980) webserver: HTTP GET /status D (793550) webserver: Serve /status: 6100 bytes used, 21164 free I (794400) webserver: HTTP GET /status D (794980) webserver: Serve /status: 6068 bytes used, 21200 free I (795860) webserver: HTTP GET /status D (796730) webserver: Serve /status: 6100 bytes used, 21164 free I (797160) webserver: HTTP GET /status D (797740) webserver: Serve /status: 6064 bytes used, 21168 free I (798430) webserver: HTTP GET /status D (799020) webserver: Serve /status: 6060 bytes used, 21200 free OVMS# mo m Free 8-bit 27264/283200, 32-bit 27544/55820, SPIRAM 0/0 So no memory loss and no crashes. The 6K is just the buffer usage after processing. The commands executed for the status page need additional RAM, but above 20 K free, the page normally has no problems. Regards, Michael -- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26