Repository: hbase
Updated Branches:
  refs/heads/branch-1 591cc4cfb -> 91d03697d


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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/91d03697
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/91d03697
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/91d03697

Branch: refs/heads/branch-1
Commit: 91d03697d93bce227f27af863a6427e661ac511c
Parents: 591cc4c
Author: zhangduo <zhang...@apache.org>
Authored: Sun Sep 18 10:05:27 2016 +0800
Committer: zhangduo <zhang...@apache.org>
Committed: Sun Sep 18 10:05:48 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java       | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/91d03697/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
index 854573a..db615a8 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
@@ -574,6 +574,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);
     }
 

Reply via email to