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

Memory usage #14

Open
iskoch01 opened this issue Jun 14, 2020 · 0 comments
Open

Memory usage #14

iskoch01 opened this issue Jun 14, 2020 · 0 comments

Comments

@iskoch01
Copy link

Whenever I configure a mios server and add a mios-in node, my memory usage starts to ramp up until garbage collection kicks in. My mios-in node just goes to a debug node. I'm trying to put this on an embedded system and I'm having trouble running out of memory. I took a look at the code but I'm not a very skilled programmer. I noticed that after I delete the mios-in node, memory keeps growing. But if I delete the config node, then add mios-in just to make the config node (delete mios-in), then memory does not grow. Sample flow:

[{"id":"588222.4062a5e","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"2ab0be96.06e3ba","type":"mios-in","z":"588222.4062a5e","name":"","server":"c7931fd9.0c4e58","item":"","exact":false,"x":130,"y":80,"wires":[["3c0cffd6.5c3e18"]]},{"id":"3c0cffd6.5c3e18","type":"debug","z":"588222.4062a5e","name":"All Z-Wave Msgs","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":510,"y":80,"wires":[]},{"id":"c7931fd9.0c4e58","type":"mios-server","z":"","name":"Vera Edge","host":"192.168.1.122","port":"3480"}]
iskoch01 added a commit to iskoch01/node-red-contrib-mios that referenced this issue Jun 15, 2020
Attempts to correct wasteful memory usage reported here: jerpa#14
Simplifies code
Comments code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant