You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "robbieyannor13 (via GitHub)" <gi...@apache.org> on 2025/09/02 09:17:00 UTC

[I] Set Limit on Docker Ignite 3 [ignite]

robbieyannor13 opened a new issue, #12312:
URL: https://github.com/apache/ignite/issues/12312

   this is my docker-composer.yml
   ```
   ignite-3:
       image: apacheignite/ignite:3.0.0
       container_name: ignite-3
       ports:
         - "10800:10800"
       command: [
         "ignite3", "run", 
         "--jvm-options=-Xms128m", 
         "--jvm-options=-Xmx384m",
         "--jvm-options=-XX:MaxDirectMemorySize=128m",
         "--jvm-options=-XX:+UseContainerSupport"
       ]
       deploy:
         resources:
           limits:
             memory: 800m
   ```
   
   but always show this error logs, and container status is exited
   
   OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000400000000, 17179869184, 0) failed; error='Not enough space' (errno=12)
   #
   # There is insufficient memory for the Java Runtime Environment to continue.
   # Native memory allocation (mmap) failed to map 17179869184 bytes for committing reserved memory.
   # An error report file with more information is saved as:
   # //hs_err_pid1.log
   
   and it works if  i change to 2.7
   but i need to try ignite 3


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Set Limit on Docker Ignite 3 [ignite]

Posted by "robbieyannor13 (via GitHub)" <gi...@apache.org>.
robbieyannor13 commented on issue #12312:
URL: https://github.com/apache/ignite/issues/12312#issuecomment-3247505736

   case closed
   
   you need to configure VM swap
   
   sudo fallocate -l 2G /swapfile
   sudo chmod 600 /swapfile
   sudo mkswap /swapfile
   sudo swapon /swapfile
   echo "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstab


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Set Limit on Docker Ignite 3 [ignite]

Posted by "robbieyannor13 (via GitHub)" <gi...@apache.org>.
robbieyannor13 closed issue #12312: Set Limit on Docker Ignite 3
URL: https://github.com/apache/ignite/issues/12312


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org