fuzhoupeng created SSHD-1327: -------------------------------- Summary: WriteState causes memory overflow Key: SSHD-1327 URL: https://issues.apache.org/jira/browse/SSHD-1327 Project: MINA SSHD Issue Type: Bug Reporter: fuzhoupeng Attachments: image-2023-05-16-09-58-04-005.png, image-2023-05-16-10-03-30-225.png, image-2023-05-16-10-03-44-339.png, image-2023-05-16-10-04-31-679.png, image-2023-05-16-10-04-53-165.png, image-2023-05-16-10-06-12-880.png, image-2023-05-16-10-12-13-163.png, image-2023-05-16-10-12-23-189.png
When data is written to a channel, the writeBuffer method is invoked, and a writeState is recorded. !image-2023-05-16-10-03-44-339.png! WriteState records the last sent packet, which causes memory overflow. !image-2023-05-16-10-04-31-679.png! !image-2023-05-16-10-06-12-880.png! 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. !image-2023-05-16-10-12-13-163.png! !image-2023-05-16-10-12-23-189.png! -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org