Memory leak in blockly
Posted: Sunday 22 January 2017 9:40
pi
v.3.5877
rfxcom
From years, i have a memory leak which need to reboot 1 time per month. Not a big deal. nothing in the logs.
I have decided to test by slowly deactivate all equipments, script (lua, etc.) and service.
I have detected that the source are in 4 blockly scripts. Set then inactive stop the leak.
I have two class of blockly scripts and 2 scripts in both class.
My blockly scripts are roughly all the same : they implement energy tuning consumption.
First class is : Test the temperature of a room (oregon) over threshold and if we are not in "vacancy" modes (virtual switch) or "turbo" (virtual switch) send a command to a DIO equipment to put on economy the electrical heat. (cf capture). I have 2 blockly script like this. Second class with 2 scripts is more simple and consists to test the temperature of the room and if the DIO equiment is ON (electrical heat) set the DIO equipment to OFF.
I am currently testing the two class of blockly scripts to be more accurate.
regards.
v.3.5877
rfxcom
From years, i have a memory leak which need to reboot 1 time per month. Not a big deal. nothing in the logs.
I have decided to test by slowly deactivate all equipments, script (lua, etc.) and service.
I have detected that the source are in 4 blockly scripts. Set then inactive stop the leak.
I have two class of blockly scripts and 2 scripts in both class.
My blockly scripts are roughly all the same : they implement energy tuning consumption.
First class is : Test the temperature of a room (oregon) over threshold and if we are not in "vacancy" modes (virtual switch) or "turbo" (virtual switch) send a command to a DIO equipment to put on economy the electrical heat. (cf capture). I have 2 blockly script like this. Second class with 2 scripts is more simple and consists to test the temperature of the room and if the DIO equiment is ON (electrical heat) set the DIO equipment to OFF.
I am currently testing the two class of blockly scripts to be more accurate.
regards.