Skip to content
This repository was archived by the owner on Sep 5, 2022. It is now read-only.
This repository was archived by the owner on Sep 5, 2022. It is now read-only.

Timers never cleaned up, causes "performance" leak. #28

@Sickboy78

Description

@Sickboy78

The problem is with the interval timers in the node_helper.js. With every page request new timers are created but never stopped/deleted. This resultes in increasing faster updates of the stats and also increasing performance and memory consumption until raspberry crashes.
I fixed this in my branch (https://github.com/Sickboy78/MMM-SystemStats) by moving the interval timers to the client side, so they are resetted with each page request.
I created a Pull Request (#27), which also contains support for remote hosts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions