Tomcat App doesn't release cache
<p>We've a tomcat application hosted in AWS cloud. I found something strange when I analysed the memory trends of application server for last one month. Our server has total 15GB RAM and 7GB is assigned for HeapSize. I noticed in monitoring system that memory utilization was reporting high. When I digged deep I found that memory used  is calculation includes (mem_used= cache memory+shared memory+buffer memory), We do tomcat reboot everyday but when I did full system reboot, I noticed that RAM utilization came down because system reboot dropped the cache. Now, the part which is puzzling me is that tomcat stop/start should release all the allocated memory by JVM, then why was the cache got release only by whole system reboot. Does tomcat doesn't flush the cache after we bounce it.</p>