简体   繁体   中英

Java 8 web application memory leak issue in Tomcat server

Recently we migrated one of web application from java 7 to java 8. when we deploy the application in tomcat 7 server we are seeing a memory leak, where as when we deploy the same code in java 7 and tomcat 7 we are not seeing any memory issue. before i am gonna do further memory analysis i would like to know is there any one faced such a issue, if so how you resolved.

Any help will be Appreciated.

i faced this type issue before. that happened because of, including lot of unwanted scripts(like js,css etc..),and also tried to remove unwanted dependencies. tomcat's default limit is 50mb, if your war size is much larger than default, there is also a chance for memory leak.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM