Comments (6)
This seems to only really propogate enough to be noticable when running the node every 10 seconds via an inject. Unsure whether it is something to do with the client login being carried out every time there is an "input" which needs to be killed off once the input scripts have run or whether it is down to my shoddy use of variables.
from node-red-nodes.
I still can't find the leak in this code anyone able to take a look? I'm wondering if its a Pi issue? @dceejay fancy doing my work for me? =p
from node-red-nodes.
which version of node? I think there's a known potential memory leak with one of the versions of node (0.10.+?)
from node-red-nodes.
Yea I'm on 1.10. I'll have to downgrade and test again
from node-red-nodes.
One thought.... (as well as the known leak Andy pointed out)
you call login every time round - I know you also call clear - but as the underlying npm is not exactly well documented and doesn't talk to a supported API - who knows if it really cleans up after itself every time... may be better to login once (on node creation) and then reuse the same client instance - unless there is some reason not to ? eg timeout which may then make you re-login anyway ;-)
PS you should also add the required Apache license headers to the files.
from node-red-nodes.
This is a node version issue and not a snapchat issue per-say. It does not seem to escalate out of hand on v0.8 and the garbage collector tidies up correctly.
from node-red-nodes.
Related Issues (20)
- node-red-node-sqlite - DB filename doesn't support underscore HOT 3
- Arduino-Node lost connection HOT 3
- PiGPIOd Feature request: set `host` dynamically HOT 2
- Feature Request: Extracting EXIF Data for Camera Orientation and Positioning HOT 4
- Another editor bug when checking misconfigured nodes occurs with the email node HOT 5
- Can't send emails using fresh install + `node-red-node-email` on Raspberry Pi/Debian HOT 4
- node-red-nodes-wol mac address format sample HOT 1
- [node-red-node-pi-gpio] on Venus OS and other non raspian OS
- Node-red Serial port output node, response time too long. HOT 5
- Node-red does not run on a FIPS crypto policy enabled OS HOT 2
- [Vulnerability] nodemailer ReDoS when trying to send a specially crafted email.
- EMAIL (node-red-node-email) , If msg.to is defined msg.paiload is ignored HOT 3
- node-red-node-email, send node "ReferenceError: msg is not defined" on deploy HOT 1
- node-red-node-email: authentication: none broken HOT 5
- select sqlite fail response
- Installation failed in latest node version above 18 HOT 1
- How can I disable the creation process? HOT 2
- Get datetime when qwery a date column HOT 2
- node-red-node-pi-gpio -> nrgpio.py uses ~1% CPU per IO port
- Node-red-node-email stops fetching GMail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-nodes.