wankunde edited a comment on issue #543: fix tests failure
URL: https://github.com/apache/griffin/pull/543#issuecomment-540884127
 
 
   @guoyuepeng @ahutsunshine 
   when griffin start a local spark context for unit test, but the jvm 
allocates memory failed.  
   Could we increase the travis container memory parameter `-Xmx1g` ?
   
   ```
   [1570713099788] unique_batch start: local-1570713077883
   #
   # There is insufficient memory for the Java Runtime Environment to continue.
   # Native memory allocation (mmap) failed to map 147324928 bytes for 
committing reserved memory.
   # An error report file with more information is saved as:
   Java HotSpot(TM) 64-Bit Server VM warning: INFO: 
os::commit_memory(0x0000000095380000, 147324928, 0) failed; error='Cannot 
allocate memory' (errno=12)
   # /home/travis/build/apache/griffin/measure/hs_err_pid12006.log
   ```
   
   travis configuration
   ```
   # keep 30, need change according to ci logs.
   script:
     - export MAVEN_SKIP_RC=true
     - export MAVEN_OPTS="-Xms500m -Xmx1g -XX:MaxPermSize=256m 
-Dorg.slf4j.simpleLogger.defaultLogLevel=warn 
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
     - mvn -B clean test -Dlogging.level.org.springframework=WARN
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to