Search for '$JAVA_OPTS' env var in catalina.sh placed in
$tomcat_home/bin
And set it to "-Xms512m -Xmx2048m"

Note: Now this 512m is least memory that should be free for tomcat
before you
start tomcat.

Regards,
Jagsir Singh Dhillon
--------------------   IFlex Solutions
Associate Consultant   i-flex Center, 399 Subash Road
PrimeSourcing          Vile Parle(East)  Mumbai - 57
Tel: +91-22-5668 5361  web: www.iflexsolutions.com
------------------------------------------------------------------------


>Thanks for all replies and recommendations. Pretty helpful, FYI, I am
running Tomcat 5.0.12 on solaris >8. 

>Matt 

Subject: java.lang.OutOfMemoryError


> Has anyone ever experienced this error? The machine I am running has
enough
> memory, I think it is around 2GB. The java instance just used for less
than
> 150MB memory from prstat. Does anyone know how to increase initial
tomcat
> memory size just like Java does?
>
> Thanks!
>
> Matt chen
>
>
>
>
> ****************************************************************
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error unregistering mbean
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM org.apache.coyote.http11.Http11Processor
process
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>


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

Reply via email to