I am having trouble Hot Deploying a Spring-MVC 4.0 (not SpringBoot) Web Application. I am trying to go xml-less and just use JavaConfig. OutOfMemoryErrors result when
Long time ago I have the same problem with tomcat7 hot deployment. When i start to using JAVA_OPTS with
-XX:+CMSClassUnloadingEnabled
solve my problem. I would like to explain, but i think that are better explanations.
What does JVM flag CMSClassUnloadingEnabled actually do?
http://frankkieviet.blogspot.ca/2006/10/classloader-leaks-dreaded-permgen-space.html