HBASE-16165 Decrease RpcServer.callQueueSize before writeResponse causes OOM (Guanghao Zhang)

This commit is contained in:
zhangduo 2016-09-18 10:05:27 +08:00
parent da3abbcb35
commit 4faa8ea934
1 changed files with 2 additions and 0 deletions

View File

@ -599,6 +599,8 @@ public class RpcServer implements RpcServerInterface, ConfigurationObserver {
}
public synchronized void sendResponseIfReady() throws IOException {
// set param null to reduce memory pressure
this.param = null;
this.responder.doRespond(this);
}