GitHub user ilooner opened a pull request:

    https://github.com/apache/drill/pull/1095

    DRILL-6085: Fixed spontaneous vm exits on Travis.

    This error occurs sporadically on Travis.
    
    ```
    Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test 
(default-test) on project drill-java-exec: Execution 
default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test 
failed: The forked VM terminated without properly saying goodbye. VM crash or 
System.exit called?
    ```
    
    I believe the issue is caused by the fact that our travis containers only 
have 4gb of memory and our test vms are given up to 4 gb of direct memory and 
heap memory (for a total of up to 8gb). Because we are promising more memory 
than we have it seems we occasionally hit the limit of our 4gb vm. I have added 
the ```sudo: "required"``` option to travis.yml which increases the amount of 
memory in the container to 7gb.
    
    The vm exits occurred about 30% of the time lately before this change for 
me. With this change I ran 5 consecutive builds without a vm exit.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ilooner/drill DRILL-6085

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/1095.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1095
    
----
commit 4b2c4f0d1a3175e6a8cffa5be42cdf51632ae1c2
Author: Timothy Farkas <timothyfarkas@...>
Date:   2018-01-16T20:11:25Z

    DRILL-6085: Fixed spontaneous vm exits on Travis.

----


---

Reply via email to