I have an application deployed on WildFly, and I use the domain mode. The VM used for deployment is full saturation when I checked the log I found the size of the server log file so big (approximately 25G). When I checked the log I found this warning is repeated:
2023-01-05 09:55:15,693 WARN [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ222082: error on connection failure check: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
at org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(ProcessorBase.java:205)
at org.apache.activemq.artemis.utils.actors.ProcessorBase.task(ProcessorBase.java:193)
at org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(OrderedExecutor.java:54)
at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$FailureCheckAndFlushThread.run(RemotingServiceImpl.java:709)
Can anyone here helps with this problem? I don't know I think that is due to the heap memory, but here I'm in the prod profile so what do you think?