Hi shivani,
reading the thread from beginning I would say that the easiest way to
fix your particular problem is to write your own version of the jsp
servlet which can than behave as you need. Take the source, make
limitations adaptions (load jsps from own classloader for example,
limit the
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
Hello Mark,
Unfortunately we would not be able to move to the new version of tomcat.
For my understanding, please confirm the following:
1. The number of JSP's loaded would directly result in that number of
classes loaded in JVM.
2. As of now, for version Tomcat 5.5.9 (or Tomcat 5.X) there is
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
-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-
[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
-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.
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 looking for something similar to what Mark
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
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
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
-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 -
-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.
-
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.
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
-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
Hello,
Thanks all for the inputs :)
Chris,Wesley: I did suggest to review the design of the app - which is not
developed in house - but as stated by the product owner - the application is
kind of a content management system that would require to display different
pages generated as per the
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
18 matches
Mail list logo