Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory error after upgrade to 8.4 #117

Open
andiMenge opened this issue Oct 6, 2024 · 0 comments
Open

Out of memory error after upgrade to 8.4 #117

andiMenge opened this issue Oct 6, 2024 · 0 comments

Comments

@andiMenge
Copy link

I tried to migrate from 7.2 to 8.4, but the container fails with an out of memory error:

unifi       | [0.006s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 2040k, guardsize: 4k, detached.
unifi       | #
unifi       | # There is insufficient memory for the Java Runtime Environment to continue.
unifi       | # Cannot create worker GC thread. Out of system resources.
unifi       | # An error report file with more information is saved as:
unifi       | # /usr/lib/unifi/logs/hs_err_pid6.log

I've tried setting new env vars with 8.4, but it seems to have no effect.

environment:
      - JVM_INIT_HEAP_SIZE=512
      - JVM_MAX_HEAP_SIZE=1024
      - UNIFI_JVM_EXTRA_OPTS="-Xmx1024M"

I'm on a PI4 with 8GB MEM w/ around 6GB free memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant