tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chu luk <ulukb0...@yahoo.com>
Subject RE: java.lang.OutOfMemoryError
Date Fri, 23 Mar 2001 02:25:51 GMT
i am not doing a whole lot of contatenation, but i do
use stringWriter --> is it the same as stringBuffer?
thanks


--- "Parayali, Jayesh     1065"
<Jayesh.Parayali@acefis.com> wrote:
> Here is one suggestion.
> Use StringBuffer instead of String if you are doing
> string contatenation.
> 
> > -----Original Message-----
> > From:	chu luk [SMTP:ulukb00us@yahoo.com]
> > Sent:	Thursday, March 22, 2001 5:17 PM
> > To:	tomcat-dev@jakarta.apache.org
> > Subject:	java.lang.OutOfMemoryError
> > 
> > Hi,
> > I have a servlet listens for HTTP POST request. 
> then
> > query the oracle database and response --> request
> /
> > response are XML.  
> > 
> > I had 10 Load Test client keep sending HTTP
> request to
> > servlet as fast as they can --> for 10 hours
> > 
> > But within 10 hours, all the response are OK,
> except i
> > got a couple of servlet internal error says "Out
> of
> > Memory" for some of the client.
> > 
> > Error: 500
> > Location: /test/server
> > Internal Servlet Error:
> > java.lang.OutOfMemoryError 
> > 
> > Do I have a memory leak?  or that means too
> servlet is
> > overLoad?  or Any thing cause this error? Is this
> a
> > common error? I believe my servlet's memeory
> > requirement is not that big. but i had at least
> 100
> > String object in it.
> > 
> > thanks.
> > 
> > P.S, my Config is:
> > oracle 8.1.6
> > tomcat 3.2
> > apache 1.3.17
> > Sun OS 5.6
> > use HTTP / XML for request / response
> > average run time / request = 500 milli - second
> > # of client = 10
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail. 
> > http://personal.mail.yahoo.com/
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message