You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by sm...@apache.org on 2015/05/13 04:42:54 UTC
[5/6] drill git commit: DRILL-3050: Increase QueryContext max
allocation to 256MB
DRILL-3050: Increase QueryContext max allocation to 256MB
Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/b3d097b0
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/b3d097b0
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/b3d097b0
Branch: refs/heads/master
Commit: b3d097b03e37a57494262051a76a824a957e8605
Parents: 01a36f1
Author: Steven Phillips <sm...@apache.org>
Authored: Tue May 12 18:05:34 2015 -0700
Committer: Steven Phillips <sm...@apache.org>
Committed: Tue May 12 18:21:10 2015 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/drill/exec/ops/QueryContext.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/drill/blob/b3d097b0/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java b/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
index 8917a24..06f8088 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
@@ -54,7 +54,7 @@ public class QueryContext implements AutoCloseable, UdfUtilities {
private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(QueryContext.class);
private static final int INITIAL_OFF_HEAP_ALLOCATION_IN_BYTES = 1024 * 1024;
- private static final int MAX_OFF_HEAP_ALLOCATION_IN_BYTES = 16 * 1024 * 1024;
+ private static final int MAX_OFF_HEAP_ALLOCATION_IN_BYTES = 256 * 1024 * 1024;
private final DrillbitContext drillbitContext;
private final UserSession session;