Closed sander closed 10 years ago
I’ve tried keeping the visualisation in Summary mode for an hour without interaction. The reset button still worked for me. Some technical findings:
top
, the VIRT
value for Python has gone in an hour from 37136 to 236m and is still growing. RES
went form 22m to 230m.I think this suggests a memory leak (e.g. faulty code that uses more RAM over time), but am not sure about how Python manages memory. @Anton04 do you have an idea? Could we just use the monit script to restart the Python server when it uses too much?
I can’t find leaks in my code, but the Tornado release notes indicate that some old versions have memory leaks. We were using 2.4.0.1 and I’ve just updated the prototype to Tornado 3.1.1. @rebekahlolsen could you test whether this reset problem still occurs with the latest version?
If we can’t fix this in time, maybe a recommendation in the user manual should be to reboot (power off and on) the Raspberry Pi when it stops working.
@rebekahlolsen wrote:
and:
I wrote: