Closed salopette closed 2 years ago
@salopette the logs show OutOfMemoryError
. How much memory is configured for the Unifi add-on on your system? https://github.com/hassio-addons/addon-unifi/blob/main/unifi/DOCS.md#option-memory_max
You may consider increasing memory_max
until the controller runs stably for your setup. For example try 512MB then 1GB until it works. You could then experiment with decreasing the allocated memory.
UI has recommended 2GB. I'm running ~4 devices off a controller allocated <1GB of RAM.
I removed the addon and then reinstalled it. now everything works without error.
I left the Ram Config on default, so nothing changed.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Add-on version: 2.1.1 You are running the latest version of this add-on. System: Home Assistant OS 7.6 (amd64 / generic-x86-64) Home Assistant Core: 2022.5.1 Home Assistant Supervisor: 2022.05.0#
[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... Log level is set to DEBUG [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] unifi.sh: executing... [cont-init.d] unifi.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [11:39:20] INFO: Now starting the UniFi Network Application... [11:39:20] INFO: Note: No add-on specific logs beyond this point. Exception in thread "cron4j::scheduler[d1b4fe8f29612ee2205248160000018098bd0c6f10b1271b]::timer[d1b4fe8f29612ee2205248160000018098bd0c6f71c0defd]" Exception in thread "WebSocket background processing" Exception in thread "StunServer" Exception in thread "cron4j::scheduler[d1b4fe8f29612ee2205248160000018098bd0d091386a028]::timer[d1b4fe8f29612ee2205248160000018098bd0d0936a97f2c]" java.lang.OutOfMemoryError: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded Exception in thread "https-jsse-nio-8843-Poller" java.lang.OutOfMemoryError: GC overhead limit exceeded Exception in thread "http-nio-8080-Acceptor" java.lang.OutOfMemoryError: GC overhead limit exceeded Exception in thread "pool-4-thread-1" java.lang.OutOfMemoryError: GC overhead limit exceeded Exception in thread "https-jsse-nio-8443-Acceptor" java.lang.OutOfMemoryError: GC overhead limit exceeded