Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ManuelBu96 opened this issue Jun 21, 2023 · 2 comments
Labels
question Further information is requested wontfix This will not be worked on

Comments

@ManuelBu96
Copy link

ManuelBu96 commented Jun 21, 2023

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:

  • Adapter version: 3.9.4
  • JS-Controller version: 4.0.23
  • Node version: v12.22.12
  • Operating system: Debian 10 (buster)
@Apollon77
Copy link
Owner

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

@Apollon77 Apollon77 added the question Further information is requested label Jun 22, 2023
@stale
Copy link

stale bot commented Oct 15, 2023

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.

@stale stale bot added the wontfix This will not be worked on label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants