Hi Shanta

You get an OutOfMemoryError when the stack or heap space is exhausted. You
can increase the heap size by setting the -Xmx option in the startserver
script, but I think it already allocates 300Mb at startup. 300Mb should be
plenty of memory for these applications, so I suspect there is a serious
memory leak.

You can use a profiling tool, such as jmeter to examine your memory.
http://jakarta.apache.org/jmeter/
Its free, but I've never used it, so I don't know how useful it will be.

Andy

-----Original Message-----
From: Shanta B [mailto:[EMAIL PROTECTED] 
Sent: 09 July 2003 16:09
To: Tomcat Users List
Subject: outof memory error


Hi 
   Sorry for disturbing...i would like to whats the reason behind
java.lang.outofmemory...because currently at one site we are getting these
errors in mscore and locator...what may be the reason ..how should i debug
the processes memory....if u have any idea or links u pl forward to me...in
the mean time iwill search for net also....i hope ur not envoy with these
mails...


Thanks
shanta.B

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to