tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. Burton" <bur...@newsmonster.org>
Subject Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4
Date Mon, 15 Nov 2004 19:41:47 GMT
Remy Maucherat wrote:

>On Sat, 13 Nov 2004 17:30:38 -0800, Kevin A. Burton
><burton@newsmonster.org> wrote:
>  
>
>>Remy Maucherat wrote:
>>
>>    
>>
>>>On Fri, 12 Nov 2004 17:17:28 -0800, Kevin A. Burton
>>><burton@newsmonster.org> wrote:
>>>
>>>      
>>>
>>>>- For all my JSPs I fetch them with the URL foo.jsp?jsp_precompile=true
>>>>to trigger precompilation
>>>>
>>>>        
>>>>
>>>How many JSPs must be compiled to cause problems ?
>>>
>>>      
>>>
>>About 50 or so... it changes every time.   Sometimes I have to trigger a
>>precompile twice.
>>    
>>
>
>I don't quite understand in which cases problems occur:
>- if you ?jsp_precompile=true 50 times for the same JSP ?
>- if you ?jsp_precompile=true for 50 different JSPs ?
>- if you access normally 50 different JSPs (triggering compilation for
>each one) ?
>I would understand from your description only the second one is an
>issue. Can you confirm this ?
>  
>
Yes... I use #2

I trigger a ?jsp_precompile=true for each one of my JSPs and we have 
around 300-400 ...

Around 100 or so it will run out of memory.

Kevin

-- 

Use Rojo (RSS/Atom aggregator).  Visit http://rojo.com. Ask me for an 
invite!  Also see irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html

If you're interested in RSS, Weblogs, Social Networking, etc... then you 
should work for Rojo!  If you recommend someone and we hire them you'll 
get a free iPod!
    
Kevin A. Burton, Location - San Francisco, CA
       AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message