Page 3 of 3
Re: Domoticz Memory leak in 2024 beta build 15910
Posted: Wednesday 01 May 2024 14:53
by Kedi
Reinstall with curl gives you the exact same files as I have now.
Just delete the database and start Domoticz will give you an empty database too.
I don't want to import an older version of my database, because I want to keep my history intact.
Still I don't understand how that will create a memory leak. If so, everybody will experience the memory leak.
Eventually you will too, because sqlite3 did not change.
Last report about sqlite3 memory leak is from 2021.
Re: Domoticz Memory leak in 2024 beta build 15910
Posted: Monday 06 May 2024 9:20
by waltervl
I also dont see why importing a database will create a memory leak.
All that can happen is that due to the number of devices the database will grow and also updating the devices will grow the database. Especially when text devices are used. So it looks like a memory leak but in fact is just a result of growing database.
@JanVlieteland what are your log settings (menu Setup- Settings, tab Log History).
Re: Domoticz Memory leak in 2024 beta build 15910
Posted: Thursday 09 May 2024 9:33
by JanVlietland
Light/Switches = 30 days
Short logs: 1 day
Check box not checked
@Walter, does that answer your question?
Memory issue over here is still solved. However all history is gone. It's a real bummer as my plan is to use OpenAI to see if I can optimize the energy usage, based on sun position, sunpower, temp, Tau-time etc etc. I'm currently digging if I can extract the data from the old database.
Re: Domoticz Memory leak in 2024 beta build 15910
Posted: Sunday 16 June 2024 18:20
by FrancescoS
Hi,
i have the same issue.
could someone explain what it the fix to this ?
thank you
Francesco
Re: Domoticz Memory leak in 2024 beta build 15910
Posted: Thursday 15 August 2024 10:34
by Dave21w
I have 2 systems running, one in my home and a test system at work with not many devices, both display a very similar graph to each other, something defintely changed in Dec 23 as can be seen here and it's never got back to where it was.

- 2024-08-15 09_30_00-Domoticz.jpg (104.08 KiB) Viewed 648 times
Re: Domoticz Memory leak in 2024 beta build 15910
Posted: Thursday 15 August 2024 10:42
by waltervl
Can you also check the Process usage device? As you are now showing the total memory consumption of your server and some other process could influence this. I once had my file explorer process kill the memory....