Re: Class unloading in tomcat - PermGen Space

2010-09-15 Thread Leon Rosenberg
that the content is fetched dynamically based on the params/etc.. - but since that cannot be changed as of now - was searching for quick short term alternatives. - Shivani. -- View this message in context: http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29715039.html Sent

Class unloading in tomcat - PermGen Space

2010-09-14 Thread shivanic
custom class loader help - how would we then decide when to remove classes from the custom classloader and on what basis would we loading our jsp's from it?.Thanks. -- View this message in context: http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29707680.html Sent from

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Mark Thomas
On 14/09/2010 12:42, shivanic wrote: In my application there are over a thousands of jsp pages existing. So, consequently over a period of time we run out of perm gen space. I have read that classes are only unloaded if there are no references to the classes or the classloader and both can

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread shivanic
to Tomcat 7 (it is still beta but pretty stable for non-Servlet 3.0 functionality) and use the new maxLoadedJsps attribute of the JSP servlet [1]. Mark -- View this message in context: http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29709282.html Sent from the Tomcat

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Wesley Acheson
On Tue, Sep 14, 2010 at 4:36 PM, shivanic shivani.chan...@gmail.com wrote: 3. Is there any way to setup unloading of JSP's in the 5.X versions - either by using the custom classloader or any other way?. Thanks. Shivani I've heard of people unloading classes via a custom garbage

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 9/14/2010 10:50 AM, Wesley Acheson wrote: Also you do know you can increase permGen size. I don't know if that's an option for you or not. That seems like the right move given the requirements. - -chris -BEGIN PGP SIGNATURE-

RE: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Mehrotra, Anurag
[mailto:wesley.ache...@gmail.com] Sent: Tuesday, September 14, 2010 10:50 AM To: Tomcat Users List Subject: Re: Class unloading in tomcat - PermGen Space On Tue, Sep 14, 2010 at 4:36 PM, shivanic shivani.chan...@gmail.com wrote: 3. Is there any way to setup unloading of JSP's in the 5.X versions

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anurag, On 9/14/2010 11:07 AM, Mehrotra, Anurag wrote: -XX:MaxPermSize=512M I can't imagine any of your other proposed settings changing anything at all about the PermGen space. It doesn't matter what GC you use if your PermGen space is too small.

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread shivanic
this message in context: http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29710342.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Mark Thomas
On 14/09/2010 17:21, shivanic wrote: Hello, We have already increased the max perm gen size - but that is not a permanent solution. As in, if the count of jsp's in the application which is already in a few thousands - increases twicefold - again the same problem would arise. Hence, was

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Juha Laiho
On 09/14/2010 07:21 PM, shivanic wrote: We have already increased the max perm gen size - but that is not a permanent solution. As in, if the count of jsp's in the application which is already in a few thousands - increases twicefold - again the same problem would arise. JSPs do not appear

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Wesley Acheson
On Tue, Sep 14, 2010 at 6:21 PM, shivanic shivani.chan...@gmail.com wrote: Hello, We have already increased the max perm gen size - but that is not a permanent solution. As in, if the count of jsp's in the application which is already in a few thousands - increases twicefold - again the same

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shivani, On 9/14/2010 12:21 PM, shivanic wrote: We have already increased the max perm gen size - but that is not a permanent solution. As in, if the count of jsp's in the application which is already in a few thousands - increases twicefold -

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 9/14/2010 2:44 PM, Wesley Acheson wrote: I'm not saying your structure is wrong but I think you might want to take a look at it anyway. ...and possibly switch to Velocity/Freemarker/whatever, which won't bust your PermGen space. -

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Wesley Acheson
On Tue, Sep 14, 2010 at 10:15 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 9/14/2010 2:44 PM, Wesley Acheson wrote: I'm not saying your structure is wrong but I think you might want to take a look at it anyway.

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Pid
On 14/09/2010 15:36, shivanic wrote: 2. As of now, for version Tomcat 5.5.9 FAIL (or Tomcat 5.X) (FAIL) I'm curious: I didn't spot in the thread so far, are you precompiling your JSPs or is Tomcat doing that for you? p 0x62590808.asc Description: application/pgp-keys signature.asc

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 9/14/2010 4:21 PM, Wesley Acheson wrote: On Tue, Sep 14, 2010 at 10:15 PM, Christopher Schultz ch...@christopherschultz.net wrote: Wesley, On 9/14/2010 2:44 PM, Wesley Acheson wrote: I'm not saying your structure is wrong but I

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread shivanic
this message in context: http://old.nabble.com/Class-unloading-in-tomcat---PermGen-Space-tp29707680p29715039.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Class unloading in tomcat - PermGen Space

2010-09-14 Thread Wesley Acheson
On Wed, Sep 15, 2010 at 5:53 AM, shivanic shivani.chan...@gmail.com wrote: was searching for quick short term alternatives. Short term increae permgen size again. Discuss your problem with the external company, If they refuse then look at buying more hardware as a medium term solution Wes