drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [drill] martin-g opened a new pull request #2219: DRILL-7911 Increase the max direct memory
Date Fri, 07 May 2021 11:19:52 GMT

martin-g opened a new pull request #2219:
URL: https://github.com/apache/drill/pull/2219

   # [DRILL-7911](https://issues.apache.org/jira/browse/DRILL-7911): Increase the max direct
   ## Description
   It seems 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)
   ## Documentation
   Another way to "fix" this issue is to pass `-DdirectMemoryMb=3000` only for builds on Linux
ARM64. In this case this will have to be documented in the README and https://drill.apache.org/docs/apache-drill-contribution-guidelines/
   ## Testing
   There are no code changes.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message