I am running a large Java 7 application (built by Maven) which started to crash multiple times due to PermGen error. After profiling it (jProfiler) I noticed the ClassLoader section holds increasing number on ClassLoader of type: org.eclipse.persistence.internal.jaxb. JaxbClassLoader until the process is choke. I am not using EclipseLink directly but this class for sure is in the classpath due to some other transitive dependencies. 1) can anyone explain this behavior of increasing number of class loders? 2) how can I approach this problem, any idea how to use Maven to find all modules that their transitive dependencies, add this class to classpath.
Thanks, Ronen