Our company has a Unix machine with a tomcat server inside, I, the webApp programmer using spring and vuejs, create the .war to be fed to the Tomcat to have it uploaded online and make it reachable via HTTPS;
a bit of history:
Initially there were only 5 wars in this machine divided into: WebApp and Rest-Api with Job Scheduled (some written via Spring-boot Scheduled others via Quartz and others .war instead via spring-boot and Vuejs and/or vanilla javascript) is happened that for work reasons the wars from 5 have passed to 17. (always divided as written above) It happens that every 3 days the Tomcat server crashes and doesn't work anymore, analyzing the logs the reason why it crashes and doesn't works anymore is due to this "GC overhead limit exceeded" error and every time we restart tomcat, it writes in the catalina.out log a "full dump of the 64 bit Java HotSpot(TM) Server VM thread" thanks to the ycrash community I was able not only to analyze the dump and do further research to better understand why this error is generated and in my research I came across a tool called JProfile and I started using it
Current situation:
After several days of analysis with the JProfile tool I can't go on or rather many questions come into my head and I can't find an answer for example: