It works great on Debian stable. But on Fedora 36, ma1sd crashes claiming to be out of memory. Adding an extra argument to set the JVM heap size, eg -Xmx512m, does not help. The host system has 8 GB of memory, and is currently using only about 800 MB.
The last few lines of ma1sd output look like this:
[main] INFO io.kamax.mxisd.config.PolicyConfig - --- Policy Config ---
[main] INFO io.kamax.mxisd.config.PolicyConfig - Empty
[main] INFO io.kamax.mxisd.config.HashingConfig - --- Hash configuration ---
[main] INFO io.kamax.mxisd.config.HashingConfig - Pepper length: 20
[main] INFO io.kamax.mxisd.config.HashingConfig - Rotation policy: per_requests
[main] INFO io.kamax.mxisd.config.HashingConfig - Hash storage type: sql
[main] INFO io.kamax.mxisd.config.HashingConfig - Rotation after requests: 10
[main] INFO io.kamax.mxisd.config.HashingConfig - Algorithms: [none, sha256]
[main] INFO io.kamax.mxisd.config.InternalAPIConfig - --- Internal API config ---
[main] INFO io.kamax.mxisd.config.InternalAPIConfig - Internal API enabled: false
library initialization failed - unable to allocate file descriptor table - out of memory
I'm running the Docker container, using the configuration created by matrix-docker-ansible-deploy.
It works great on Debian stable. But on Fedora 36, ma1sd crashes claiming to be out of memory. Adding an extra argument to set the JVM heap size, eg
-Xmx512m
, does not help. The host system has 8 GB of memory, and is currently using only about 800 MB.The last few lines of ma1sd output look like this: