Vitalii Diravka created DRILL-7973:
--------------------------------------
Summary: Increase direct memory for Drill build in CI to prevent
OutOfMemoryException
Key: DRILL-7973
URL: https://issues.apache.org/jira/browse/DRILL-7973
Project: Apache Drill
Issue Type: Sub-task
Components: Tools, Build & Test
Affects Versions: 1.19.0
Reporter: Vitalii Diravka
Assignee: Vitalii Diravka
Fix For: 1.20.0
I got locally:
{code:java}
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.264 s
- in org.apache.drill.exec.work.metadata.TestServerMetaProvider
[ERROR] Tests run: 19, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.713
s <<< FAILURE! - in org.apache.drill.exec.record.vector.TestValueVector
[ERROR]
org.apache.drill.exec.record.vector.TestValueVector.testFixedVectorReallocation
Time elapsed: 0.084 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)[ERROR]
org.apache.drill.exec.record.vector.TestValueVector.testVariableVectorReallocation
Time elapsed: 0.013 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.testVariableVectorReallocation(TestValueVector.java:165)
Caused by: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate
2147483647 byte(s) of direct memory (used: 872415232, max: 2621440000)
at
org.apache.drill.exec.record.vector.TestValueVector.testVariableVectorReallocation(TestValueVector.java:165)
{code}
for the command:
{code:java}
drill$ mvn install -V -ntp -DdirectMemoryMb=2800 -DmemoryMb=2000
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)