My installation of Lucee seems to have a steadily increasing Java non-heap. Although that’s expected, it increases all the way up to 100% over a span of 12-18 hours. The Java heap space is fine, normally hovering anywhere from 40-60%.
My settings to Java are as below.
-server -Xms6144m -Xmx6144m -Xss2048k -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Duser.timezone=America/New_York -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Dfile.encoding=UTF-8
The machine has 32GB of RAM. “top” shows the “java” process is using around 7GB of RAM.
Right now, I’m restarting Lucee every 24 hours or so to clear the non-heap space but I don’t think that’s something I should do, right? How would I troubleshoot what’s taking up all the non-heap space. Also, how can I find out the actual size of the non-heap space. I’m now getting the % from Lucee Admin Overview.
Don’t forget to tell us about your stack!
OS: CentOS 7.7.1908
Java Version: 1.8.0_161
Tomcat Version: Apache Tomcat/9.0.31
Lucee Version: 184.108.40.206