publicExecutor = new ScheduledThreadPoolExecutor(option.publicExecutorThread(), new DefaultThreadFactory("publicExecutor", true)); privateExecutor = new ScheduledThreadPoolExecutor(option.privateExecutorThread(), new DefaultThreadFactory("privateExecutor", true));
线程池未定义队列大小导致内存溢出:
link.thingscloud.freeswitch.esl.inbound.AbstractNettyInboundClient
publicExecutor = new ScheduledThreadPoolExecutor(option.publicExecutorThread(), new DefaultThreadFactory("publicExecutor", true)); privateExecutor = new ScheduledThreadPoolExecutor(option.privateExecutorThread(), new DefaultThreadFactory("privateExecutor", true));