"Insufficient memory for the Java Runtime Environment" with fusionauth/fusionauth-app:1.41.0
- 
 I'm running the docker image fusionauth/fusionauth-app:1.40.2 successfully but when I try to upgrade to fusionauth/fusionauth-app:1.41.0 (or any later version) I get the following messages in my log: Feb 08 19:58:27 auth fusionauth --> Logging to /usr/local/fusionauth/logs/fusionauth-app.log 
 Feb 08 19:58:27 auth fusionauth [0.007s][warning][os,thread] Failed to start thread - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
 Feb 08 19:58:27 auth fusionauth #
 Feb 08 19:58:27 auth fusionauth # There is insufficient memory for the Java Runtime Environment to continue.
 Feb 08 19:58:27 auth fusionauth # Cannot create worker GC thread. Out of system resources.
 Feb 08 19:58:27 auth fusionauth # An error report file with more information is saved as:
 Feb 08 19:58:27 auth fusionauth # /usr/local/fusionauth/fusionauth-app/hs_err_pid1.logI'm not sure but the error seems to be telling me that I should increase the stack size of the JRE. I've tried setting new Java args in the .env and docker-compose.yml files but the error still occurs: .env 
 FUSIONAUTH_APP_MEMORY=2G
 FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS="-Xms2g -Xmx2g -Xss1g"docker-compose.yml 
 FUSIONAUTH_APP_MEMORY: ${FUSIONAUTH_APP_MEMORY}
 FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS: ${FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS}My VM seems to have enough memory root@auth:~# free -h 
 total used free shared buff/cache available
 Mem: 7.8Gi 5.6Gi 1.4Gi 18Mi 770Mi 1.7Gi
 Swap: 0B 0B 0BIs this the right way to specify the Java args? 
 What else could be wrong?Thanks. 
- 
 Hmmm. Haven't run into this before. You are right, it sure looks like you have enough memory. This GH issue indicates you might need to update your docker. https://github.com/adoptium/temurin-build/issues/2976#issuecomment-1152142311 But I'm not quite sure what is going on. Did you find a solution? 
