Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 ff914375f -> 31a2f04e9


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/31a2f04e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/31a2f04e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/31a2f04e

Branch: refs/heads/branch-1.1
Commit: 31a2f04e996cf4022530e89f090ac770f8e1c9dd
Parents: ff91437
Author: zhangduo <zhang...@apache.org>
Authored: Sun Sep 18 10:06:50 2016 +0800
Committer: zhangduo <zhang...@apache.org>
Committed: Sun Sep 18 10:06:50 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/31a2f04e/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 6ba125e..c830b73 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
@@ -533,6 +533,8 @@ public class RpcServer implements RpcServerInterface {
      * called by the RPC code in the context of the Handler thread.
      */
     public synchronized void sendResponseIfReady() throws IOException {
+      // set param null to reduce memory pressure
+      this.param = null;
       if (!this.delayResponse) {
         this.responder.doRespond(this);
       }

Reply via email to