phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maryann...@apache.org
Subject git commit: Change DEFAULT_MAX_MEMORY_PERC to 20 (old value 50)
Date Thu, 13 Feb 2014 23:59:05 GMT
Updated Branches:
  refs/heads/master 19dcb4817 -> eebeed4b8


Change DEFAULT_MAX_MEMORY_PERC to 20 (old value 50)


Project: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/commit/eebeed4b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/tree/eebeed4b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/diff/eebeed4b

Branch: refs/heads/master
Commit: eebeed4b85b4497e5b49a7d5502bf014277de8a2
Parents: 19dcb48
Author: maryannxue <maryannxue@apache.org>
Authored: Thu Feb 13 18:58:49 2014 -0500
Committer: maryannxue <maryannxue@apache.org>
Committed: Thu Feb 13 18:58:49 2014 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/phoenix/query/QueryServicesOptions.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/eebeed4b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
index 339d57e..4a07245 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
@@ -74,7 +74,7 @@ public class QueryServicesOptions {
 	public static final int DEFAULT_QUEUE_SIZE = 500;
 	public static final int DEFAULT_THREAD_TIMEOUT_MS = 600000; // 10min
 	public static final int DEFAULT_SPOOL_THRESHOLD_BYTES = 1024 * 1024 * 20; // 20m
-	public static final int DEFAULT_MAX_MEMORY_PERC = 50; // 50% of heap
+	public static final int DEFAULT_MAX_MEMORY_PERC = 20; // 20% of heap
 	public static final int DEFAULT_MAX_MEMORY_WAIT_MS = 10000;
 	public static final int DEFAULT_MAX_TENANT_MEMORY_PERC = 100;
 	public static final long DEFAULT_MAX_SERVER_CACHE_SIZE = 1024*1024*100;  // 100 Mb


Mime
View raw message