You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/05 11:56:00 UTC

[jira] [Commented] (DRILL-8172) Use the specified memory usage for Travis CI

    [ https://issues.apache.org/jira/browse/DRILL-8172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532212#comment-17532212 ] 

ASF GitHub Bot commented on DRILL-8172:
---------------------------------------

vdiravka commented on code in PR #2500:
URL: https://github.com/apache/drill/pull/2500#discussion_r865819857


##########
.travis.yml:
##########
@@ -45,6 +45,9 @@ cache:
 before_install:
   - export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-arm64"
   - export PATH="$JAVA_HOME/bin:$PATH"
+  - export MEMORYMB=2048

Review Comment:
   I think 2048 is small value. The default one is 2500M.
   Now Travis build hangs:
   ```
   [INFO] Running org.apache.drill.exec.fn.impl.TestAggregateFunctions
   No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
   ```
   Possibly it is due to lack of heap memory.
   @luocooong What do you think about reverting this value to the default one?



##########
.travis.yml:
##########
@@ -45,6 +45,9 @@ cache:
 before_install:
   - export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-arm64"
   - export PATH="$JAVA_HOME/bin:$PATH"
+  - export MEMORYMB=2048
+  - export DIRECTMEMORYMB=5120

Review Comment:
   One note about `DIRECTMEMORYMB`. Do you think `4500M` is really small?
   GitHub Actions has the same [7Gb](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) memory limit and these builds pass amost always.





> Use the specified memory usage for Travis CI
> --------------------------------------------
>
>                 Key: DRILL-8172
>                 URL: https://issues.apache.org/jira/browse/DRILL-8172
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build &amp; Test
>            Reporter: Cong Luo
>            Assignee: Cong Luo
>            Priority: Major
>
> Unlike GitHub CI, Travis CI may have more memory. If so, we can run unit tests using various policies to prevent failure.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)