{"action":"created","issue":{"url":"https://api.github.com/repos/mrniko/netty-socketio/issues/528","repository_url":"https://api.github.com/repos/mrniko/netty-socketio","labels_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/528/comments","events_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/528/events","html_url":"https://github.com/mrniko/netty-socketio/issues/528","id":308345104,"number":528,"title":"请问我使用netty-socketio编写的程序，特别的耗内存，是什么原因？","user":{"login":"liubenlong","id":6487801,"avatar_url":"https://avatars0.githubusercontent.com/u/6487801?v=4","gravatar_id":"","url":"https://api.github.com/users/liubenlong","html_url":"https://github.com/liubenlong","followers_url":"https://api.github.com/users/liubenlong/followers","following_url":"https://api.github.com/users/liubenlong/following{/other_user}","gists_url":"https://api.github.com/users/liubenlong/gists{/gist_id}","starred_url":"https://api.github.com/users/liubenlong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liubenlong/subscriptions","organizations_url":"https://api.github.com/users/liubenlong/orgs","repos_url":"https://api.github.com/users/liubenlong/repos","events_url":"https://api.github.com/users/liubenlong/events{/privacy}","received_events_url":"https://api.github.com/users/liubenlong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-25T12:19:58Z","updated_at":"2018-03-27T02:34:45Z","closed_at":null,"author_association":"NONE","body":"请问我使用netty-socketio作为服务端编写的程序，特别的耗内存，是什么原因？\r\n不到2W链接，消耗了4G内存。\r\n基本代码如下：\r\n\r\n    Configuration config = new Configuration();\r\n    config.setPort(1337);\r\n    config.setCloseTimeout(30);\r\n    \r\n    SocketConfig socketConfig = new SocketConfig();\r\n    socketConfig.setReuseAddress(true);\r\n    \r\n    config.setSocketConfig(socketConfig);\r\n\r\n    SocketIOServer server = new SocketIOServer(config);"},"comment":{"url":"https://api.github.com/repos/mrniko/netty-socketio/issues/comments/376376526","html_url":"https://github.com/mrniko/netty-socketio/issues/528#issuecomment-376376526","issue_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/528","id":376376526,"user":{"login":"lovelyelfpop","id":5656924,"avatar_url":"https://avatars2.githubusercontent.com/u/5656924?v=4","gravatar_id":"","url":"https://api.github.com/users/lovelyelfpop","html_url":"https://github.com/lovelyelfpop","followers_url":"https://api.github.com/users/lovelyelfpop/followers","following_url":"https://api.github.com/users/lovelyelfpop/following{/other_user}","gists_url":"https://api.github.com/users/lovelyelfpop/gists{/gist_id}","starred_url":"https://api.github.com/users/lovelyelfpop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovelyelfpop/subscriptions","organizations_url":"https://api.github.com/users/lovelyelfpop/orgs","repos_url":"https://api.github.com/users/lovelyelfpop/repos","events_url":"https://api.github.com/users/lovelyelfpop/events{/privacy}","received_events_url":"https://api.github.com/users/lovelyelfpop/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T02:34:45Z","updated_at":"2018-03-27T02:34:45Z","author_association":"NONE","body":"@lilaizhencn 我们没几个用户呢目前。\r\n你们用的 netty、netty-socketio、socket.io-client都是什么版本的？\r\n你们关闭压缩了吗：`config.setHttpCompression(false)` 和 `config.setWebsocketCompression(false)`?\r\n"}}
{"actor":{"display_login":"lovelyelfpop"}}