This is an automated email from the ASF dual-hosted git repository.

cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b0c67c  DRILL-7911 Increase the max direct memory (#2219)
7b0c67c is described below

commit 7b0c67c5e3fcafa382b8dd4edc4105da13f7cd43
Author: Martin Grigorov <[email protected]>
AuthorDate: Mon May 10 16:39:48 2021 +0300

    DRILL-7911 Increase the max direct memory (#2219)
    
    2500Mb is not enough on Linux ARM64
    
    Fixes errors like:
    
    [ERROR] Tests run: 19, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 
5.039 s <<< FAILURE! - in org.apache.drill.exec.record.vector.TestValueVector
    [ERROR] 
org.apache.drill.exec.record.vector.TestValueVector.testFixedVectorReallocation 
 Time elapsed: 0.037 s  <<< ERROR!
    java.lang.Exception: Unexpected exception, 
expected<org.apache.drill.exec.exception.OversizedAllocationException> but 
was<org.apache.drill.exec.exception.OutOfMemoryException>
        at 
org.apache.drill.exec.record.vector.TestValueVector.testFixedVectorReallocation(TestValueVector.java:107)
    Caused by: io.netty.util.internal.OutOfDirectMemoryError: failed to 
allocate 2147483644 byte(s) of direct memory (used: 872415232, max: 2621440000)
        at 
org.apache.drill.exec.record.vector.TestValueVector.testFixedVectorReallocation(TestValueVector.java:107)
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 718329d..0e4f63a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,7 +96,7 @@
     <asm.version>7.3.1</asm.version>
     <excludedGroups />
     <memoryMb>4000</memoryMb>
-    <directMemoryMb>2500</directMemoryMb>
+    <directMemoryMb>3000</directMemoryMb>
     <rat.skip>true</rat.skip>
     <license.skip>true</license.skip>
     <docker.repository>apache/drill</docker.repository>

Reply via email to