Repository: hbase
Updated Branches:
  refs/heads/0.98 73fa9d6ec -> efd1ba157


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

Branch: refs/heads/0.98
Commit: efd1ba157a13f18113ca9cb9aca5f76e6df1209b
Parents: 73fa9d6
Author: zhangduo <zhang...@apache.org>
Authored: Sun Sep 18 10:06:50 2016 +0800
Committer: zhangduo <zhang...@apache.org>
Committed: Sun Sep 18 10:07:19 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/efd1ba15/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 50e16c0..f946753 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
@@ -580,6 +580,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