Blockly to LUA or dzVents

Moderator: leecollings

Post Reply
dressie
Posts: 156
Joined: Monday 25 May 2015 22:44
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.2
Location: Netherlands
Contact:

Blockly to LUA or dzVents

Post by dressie »

Hello,

I want to have all my blockly changed into LUA. I've noticed that blockly creates a huge memory leak, at least for me.
I was wondering if there is a tool to have blocky convert into LUA.
For example:
Ventilatie.PNG
Ventilatie.PNG (118.73 KiB) Viewed 1139 times
I really have no clue where to start. Perhaps it's easier then I think it is? Or is there an awesome tool we can use?
jvandenbroek
Posts: 37
Joined: Wednesday 12 March 2014 16:37
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Blockly to LUA or dzVents

Post by jvandenbroek »

Well no, at least not right now.

But on what platform are you experiencing this memory leak? I've fixed it a few days ago (as you saw in the other thread ;) and now with stress testing blockly by looping 2 events constantly switching each other, there is no leak whatsoever. It should be gone and I can't find any evidence that there still is a leakage in this part of the code (not saying it's impossible, just unlikely and there might be another cause for it).

In what rate do you see the memory grow? How often is a blockly script executed? And we're talking about RSS and not VSZ memory usage right? Because the latter only indicates the reservation of virtual memory which Domoticz possible could allocate, but in reality never will.
dressie
Posts: 156
Joined: Monday 25 May 2015 22:44
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.2
Location: Netherlands
Contact:

Re: Blockly to LUA or dzVents

Post by dressie »

I think it had to do with a loop in one of my blocky. I rewrote it and mem seems fine. It does grow according Monit, but that must be the reserved space.

Verstuurd vanaf mijn SM-G920F met Tapatalk
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest