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

Francis Chuang commented on CALCITE-5482:
-----------------------------------------

Interesting. I just tried `docker compose run test` myself and it works 
properly. Looking at the logs, you seem to have plenty of memory as well.

I am using Docker Desktop on Windows and using docker from WSL2.

Here are my versions:
{code:bash}
$ docker version
Client: Docker Engine - Community
 Cloud integration: v1.0.29
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:02:28 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Desktop
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 18:00:19 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.10
  GitCommit:        770bd0108c32f3fb5c73ae1264f7e503fe7b2661
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
$ docker compose version
Docker Compose version v2.13.0
{code}

Can you sure your docker version and docker compose version?


> JVM error when running tests via docker-compose in Avatica
> ----------------------------------------------------------
>
>                 Key: CALCITE-5482
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5482
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: Stamatis Zampetakis
>            Priority: Major
>         Attachments: hs_err_pid8.log
>
>
> Running the tests via docker-compose command in the root directory of Avatica 
> raises a JVM error:
> {noformat}
> $ docker-compose run test
> Creating network "apache-calcite-avatica-1230-src_default" with the default 
> driver
> Creating volume "apache-calcite-avatica-1230-src_gradle-cache" with default 
> driver
> [0.003s][warning][os,thread] Failed to start thread - pthread_create failed 
> (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
> #
> # There is insufficient memory for the Java Runtime Environment to continue.
> # Cannot create worker GC thread. Out of system resources.
> # An error report file with more information is saved as:
> # /src/hs_err_pid8.log{noformat}
> The error seems to be environment related but the system does not seem to be 
> out of resources and its the first time that I bump into this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to