Apollon77 / ioBroker.tuya

ioBroker adapter to connect to several small and cheap Wifi devices that care connected to the Tuya Cloud and mostly use the Smartlife App/Alexa-Skill
MIT License
87 stars 21 forks source link

Adapter nutzt nach längerer Zeit deutlich mehr RAM | After a long time, the adapter uses a lot of RAM #542

Open ManuelBu96 opened 1 year ago

ManuelBu96 commented 1 year ago

German

Describe the bug
Der Dienst lief jetzt über mehrere Monate problemlos. Mir ist nur heute aufgefallen, dass die RAM Auslastung der Maschine sehr hoch ist. Der Adapter tuya.0 hat knapp 1100 MB Arbeitsspeicher genutzt. Ich weiß nicht wie das zustande kommt. Nach einem Neustart des Adapters sinkt dieser zwar wieder, aber das kann doch eigentlich nicht normal sein oder?

Vor dem Neustart ~ 1100 MB Arbeitsspeicher Verbrauch Nach dem Neustart ~ 80 MB Arbeitsspeicher Verbrauch

To Reproduce
Ein paar Tage/Wochen warten ohne Neustart des Adapters

Expected behavior
Kein hoher RAM Verbrauch nach längerer Zeit ohne Neustart

English

Describe the bug The service has been running smoothly for several months now. I just noticed today that the RAM usage of the machine is very high. The tuya.0 adapter used almost 1100 MB of RAM. I don't know how that comes about. After restarting the adapter, it drops again, but that can't be normal, can it?

Before reboot ~ 1100 MB memory consumption After reboot ~ 80 MB memory consumption

To Reproduce Wait a couple of days/weeks without reboot of the adapter

Expected behavior
No high memory consumption after a long period of time without restart

Generally

Versions:

Apollon77 commented 1 year ago

Hmmm... Yes Thats not normal ... I also have it running looong time and no such issues. interesting. Please activate Logging for the system.adapter.tuya.0.mem* states and show how that evolved over time

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.