Memory leak
See original GitHub issueHi,
in file pub_perf.js
replace this line
nats.publish('test', invalid2octet, () => { });
after this my node processes will rise to ~1,028.8MB and freezes.
Node: v6.9.2 Windows
Issue Analytics
- State:
- Created 7 years ago
- Comments:26 (26 by maintainers)
Top Results From Across the Web
Memory leak - Wikipedia
In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations in...
Read more >What is Memory Leak? How can we avoid? - GeeksforGeeks
Memory leak occurs when programmers create a memory in heap and forget to delete it. The consequences of memory leak is that it...
Read more >Definition of memory leak - PCMag
When memory is allocated, but not deallocated, a memory leak occurs (the memory has leaked out of the computer). If too many memory...
Read more >Memory leak - OWASP Foundation
A memory leak is an unintentional form of memory consumption whereby the developer fails to free an allocated block of memory when no...
Read more >Find a memory leak - Windows drivers - Microsoft Learn
A memory leak occurs when a process allocates memory from the paged or nonpaged pools, but doesn't free the memory.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is not a Node.js issue or a NATS issue per se, its a generalized messaging pattern. You should understand if the publisher cares about whether the message was processed or not. I have been doing messaging systems now for almost 25yrs, so I may have a different opinion than most. If you care, do a request/response pattern with a timeout, if you don’t care, then really don’t care.
No problem…