Dear Colleagues, I’m facing below errors and I believe it’s my rule causing the issue. Could you please read and support me on this one:
Erros:
2022-10-26 06:42:07.212 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to execute rule ‘alarm-1’ with status ‘RUNNING’
2022-10-26 07:05:20.363 [WARN ] [e.jetty.util.thread.QueuedThreadPool] -
java.lang.OutOfMemoryError: Java heap space
2022-10-26 07:45:49.488 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to execute rule ‘alarm-1’ with status ‘RUNNING’
Rule that’s alarm-1
rule "Alarm on based on Presence"
when
//Member of Presence_alarm changed or
Time cron "0 0/20 * 1/1 * ? *"
then
//logInfo("ALARM ", "Step1")
if (Automatic_Alarme_Presence.state == ON){
// logInfo("ALARM ", "Step2")
if (PingMarcelXiaomi_Online.state == OFF && JanainaaIphone_Online.state == OFF){
//if(JanaIphone_HOME.state == OFF){
// logInfo("ALARM ", "Step3" + JanainaaIphone_Online.state)
if (Devkit1Sotao_Devkit1SensorSwitch3.state == OFF){
Broadlink1_Choice.sendCommand("alarm")
// logInfo("ALARM ON", "RF command ON Alarm Presence")
}
//}
}
}
end