You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2016/11/01 19:48:12 UTC
[34/50] hbase git commit: HBASE-16165 Decrease
RpcServer.callQueueSize before writeResponse causes OOM (Guanghao Zhang)
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 <zh...@apache.org>
Authored: Sun Sep 18 10:06:50 2016 +0800
Committer: zhangduo <zh...@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);
}