Description
When data is written to a channel, the writeBuffer method is invoked, and a writeState is recorded.
WriteState records the last sent packet, which causes memory overflow.
When a large number of devices are managed and a large number of packets are delivered last time, the cached packets delivered last time cause service memory overflow.