内存泄漏

时间:2013-03-14 02:01:58

标签: java memory netty memory-leaks

Timer timer = new HashedWheelTimer(); 
        bootstrap = new ServerBootstrap(new NioServerSocketChannelFactory(
                Executors.newCachedThreadPool(),
                Executors.newCachedThreadPool()));
        bootstrap.setPipelineFactory(new PortNettyFactory(timer,port));
        bootstrap.setOption("child.tcpNoDelay", true);
        bootstrap.setOption("child.keepAlive", true);
        bootstrap.bind(new InetSocketAddress(port));

我在Jprofiler中使用netty显示内存泄漏。请向我推荐,谢谢!

0 个答案:

没有答案