In the current implementation, Node-RED seems to crash when the node retries connections because of huge memory usage. The problem occurs from duplicated retry handling (When the node is disconnected, both error and close events occurred and both handlings try to make a connection again). Because single handling is enough for retrying, I removed the handling in the error event.
In the current implementation, Node-RED seems to crash when the node retries connections because of huge memory usage. The problem occurs from duplicated retry handling (When the node is disconnected, both
error
andclose
events occurred and both handlings try to make a connection again). Because single handling is enough for retrying, I removed the handling in theerror
event.