netty-socketio
netty-socketio copied to clipboard
Memory problems version 1.7.17
After the number of connections dropped, the memory remained too high to drop
We found the same problem
I'm sorry. My answer is another question #657
Configuration.setRandomSession(true); [email protected] From: DancingCorp Date: 2019-11-07 18:18 To: mrniko/netty-socketio CC: Subscribed Subject: Re: [mrniko/netty-socketio] Memory problems version 1.7.17 (#676) We found the same problem — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
It doesn't work.
Configuration config = new Configuration(); config.setPort(nettyConfig.getPort()); config.setMaxFramePayloadLength(1024 * 1024); config.setMaxHttpContentLength(1024 * 1024); config.setTransports(Transport.WEBSOCKET); config.setOrigin(null); config.setPreferDirectBuffer(false); config.setRandomSession(true); config.setBossThreads(8); config.setWorkerThreads(400);rss reach to 1.32G when startup, and up to 2.1G after all clients disconnection.
Fixed in https://github.com/mrniko/netty-socketio/issues/868