I have a Wildfly-8.0.0.Final server running in standalone mode on a Windows machine.
To configure the JVM memory allocation I edited the $JBOSS_HOME\bin\standalone.conf.bat, adding the following:
set "JAVA_OPTS=-Xms512M -Xmx2048M -XX:MaxPermSize=512M"
In the console administration > Runtime > Platform > JVM I noticed that the memory is ok (after some time, it's being released), but the number of threads increases at each client connection.
For the other server configuration I kept the default values.
At the server startup the number of threads is: live 60, daemon 20, but after a few hours I found live 400, daemon 360. I'm not an expert, but this seems to be an error. Is it true? How can I limit the number of threads?
I noticed in console administration Profile > Core > Threads both "Thread Pools" and "Thread Factories" are empty.