gaia-app/gaia

🐛 : java out of memory

Opened this issue · 1 comments

Describe the bug

fresh installation
docker ps

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
db399f1ca3a7        mongo:4.0           "docker-entrypoint.s…"   18 minutes ago      Up 11 minutes       27017/tcp           mongo
30db13deb53b        gaiaapp/runner      "java -jar runner.jar"   20 minutes ago      Up 10 minutes                           runner

docker images

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
mongo               4.4                 9ec294f2707c        5 days ago          438MB
mongo               4.0                 fb1435e8841c        6 months ago        430MB
gaiaapp/gaia        latest              1f797b98a9d3        6 months ago        499MB
gaiaapp/gaia        v2.4.0              1f797b98a9d3        6 months ago        499MB
gaiaapp/gaia        v2.3.0              187af3de1b05        6 months ago        497MB
gaiaapp/runner      latest              f48f5030db36        7 months ago        536MB
gaiaapp/runner      v2.3.2              f48f5030db36        7 months ago        536MB
gaiaapp/runner      v2.3.1              3a1cf24c0f04        11 months ago       534MB
gaiaapp/runner      v2.3.0              a06433e501aa        12 months ago       534MB
gaiaapp/runner      v2.2.0              b377e5184eee        17 months ago       557MB
gaiaapp/gaia        v2.2.0              b5b11e414ffd        18 months ago       509MB

docker logs gaia

NOTE: Picked up JDK_JAVA_OPTIONS: --add-exports java.naming/com.sun.jndi.ldap=ALL-UNNAMED
[0.005s][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:
# /opt/target/hs_err_pid1.log
NOTE: Picked up JDK_JAVA_OPTIONS: --add-exports java.naming/com.sun.jndi.ldap=ALL-UNNAMED
[0.006s][warning][os,thread] Failed to start thread - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu Focal
  • Docker 23.0.1

Additional context
Add any other context about the problem here.

with Ubuntu Jammy and Docker 23.0.1 works fine