|
From: Claudio D'A. <cla...@ob...> - 2004-07-15 13:46:25
|
I've deployed the minimal application (see the spring's sample). There isn't Quarts, ibatis or hibernate. There is a controller with a test.jsp only. I don't understand about memory leak, weark or soft referance but I've see that CachedIntrospectionResults is referenced by CachedIntrospectionResults.classCache and there are 2 instances (org.springframework.context.support.ResourceBundleMessageSource and org.springframework.web.servlet.DispatcherServlet) Where I can call the java.beans.Introspector.flushCaches()? Please help. After 20 redeploy Tomcat goes in OutOfMemory and ELS craches At 15.17 15/07/2004 +0200, you wrote: >If this happens with Spring 1.0.2, it is typically caused by *other* code >that causes a leak. The ClassLoader is then still around, also showing >Spring classes like CachedIntrospectionResults. This is not Spring's >fault: Spring classes just keep hanging around as a side effect. > >Try calling "java.beans.Introspector.flushCaches()" on application >shutdown. This is a typical source of such leaks: The JavaBeans >Introspector might still refer to application classes. This is not caused >by Spring: It's rather other libraries that use the Introspector, for >example Quartz. > >Juergen > > >________________________________ > >Von: spr...@li... im Auftrag von >Rod Johnson >Gesendet: Do 15.07.2004 14:38 >An: spr...@li... >Betreff: Re: [Springframework-developer] CachedIntrospectionResults >classCache leak > > > >Claudio > >What version of Spring is your analysis against? > >R > >----- Original Message ----- >From: "Claudio D'Angelo" <cla...@ob...> >To: <spr...@li...> >Sent: Thursday, July 15, 2004 10:26 AM >Subject: [Springframework-developer] CachedIntrospectionResults classCache >leak > > > > Hi, > > I'm analyzing with OptimizeIt my web application: > > when I redeploy the application I note that instances of > > CachedIntrospectionResults still in memory and for any redeploy the > > instances raise. > > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer Grazie e buon lavoro ---------- Claudio D'Angelo Software Consultant ObjectWay S.p.A. Via G.A. Boltraffio 7 20159 Milano (MI) http://www.objectway.it -- La presente comunicazione potrebbe contenere informazioni riservate e/o protette da segreto professionale ed e' indirizzata esclusivamente ai destinatari della medesima qui indicati. Se avete ricevuto per errore la presente comunicazione, siete invitati a segnalarcelo, rispondendo a questo stesso indirizzo di e-mail, e a cancellare il presente messaggio dal Vostro sistema. E' strettamente proibito e potrebbe essere fonte di violazione di legge qualsiasi uso, comunicazione, copia o diffusione dei contenuti di questa comunicazione da parte di chi la abbia ricevuta per errore o in violazione degli scopi della presente. Il messaggio e' stato analizzato alla ricerca di virus o contenuti pericolosi ed e' risultato NON infetto. |