Hi,
> I am facing memory leak issue while loading the JAXB classes using JAXBContext.newInstance(factoryClass); method.
What exactly leaks memory? How did you find it out?
> I am using JDK 1.6.0.14 and my application is deployed on tomcat 6.0.18.
>
> How do I resolve it? also, when I generate classes using XJC tool it is generating too many classes basically, I wanted to avoid generation of repeated classes. How do I do that?
I'm not sure what you mean with "repeated classes" but maybe episodes
are something you're looking for.
http://weblogs.java.net/blog/kohsuke/archive/2006/09/separate_compil.html
Bye.
/lexi