You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by paul-rogers <gi...@git.apache.org> on 2017/10/01 01:27:08 UTC
[GitHub] drill pull request #958: DRILL-5808: Reduce memory allocator strictness for ...
Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/958#discussion_r140960874
--- Diff: exec/memory/base/src/main/java/org/apache/drill/exec/memory/Accountant.java ---
@@ -80,6 +119,23 @@ public Accountant(Accountant parent, long reservation, long maxAllocation) {
}
/**
+ * Request lenient allocations: allows exceeding the allocation limit
+ * by the configured grace amount. The request is granted only if strict
+ * limits are not required.
+ *
+ * @param enable
+ */
+ public boolean setLenient() {
--- End diff --
Added a comment to explain the purpose. Fixed Javadoc comments.
---