You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2015/11/09 07:09:41 UTC
incubator-hawq git commit: HAWQ-139. Fix out of memory issue with 10
concurrent TPC-H workload in YARN mode
Repository: incubator-hawq
Updated Branches:
refs/heads/master b3efa6292 -> 9a10f91d6
HAWQ-139. Fix out of memory issue with 10 concurrent TPC-H workload in YARN mode
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/9a10f91d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/9a10f91d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/9a10f91d
Branch: refs/heads/master
Commit: 9a10f91d653f8b4aeb2cc8ce934858968fda6b04
Parents: b3efa62
Author: Ruilong Huo <rh...@pivotal.io>
Authored: Mon Nov 9 14:02:13 2015 +0800
Committer: Ruilong Huo <rh...@pivotal.io>
Committed: Mon Nov 9 14:02:13 2015 +0800
----------------------------------------------------------------------
src/backend/utils/misc/guc.c | 4 ++--
src/backend/utils/misc/postgresql.conf.sample | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9a10f91d/src/backend/utils/misc/guc.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index f2fc039..4f2d20d 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -5985,9 +5985,9 @@ static struct config_int ConfigureNamesInt[] =
},
&gp_vmem_protect_limit,
#ifdef __darwin__
- 2048,
+ 8192,
#else
- 2048,
+ 8192,
#endif
0, INT_MAX / 2, NULL, NULL
},
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9a10f91d/src/backend/utils/misc/postgresql.conf.sample
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 87929aa..a363e24 100755
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -491,7 +491,7 @@ gp_segment_connect_timeout = 600s
#gp_enable_delete_as_truncate = off
# - Resource limits -
-gp_vmem_protect_limit = 2048 #Virtual memory limit (in MB).
+gp_vmem_protect_limit = 8192 #Virtual memory limit (in MB).
#gp_vmem_idle_resource_timeout = 18000 # idle-time before gang-release, in milliseconds (zero disables release).
#------------------------------------------------------------------------------