tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aparna1 V <aparna...@tcs.com>
Subject OutOfMemory issue
Date Mon, 31 Jan 2011 13:42:23 GMT
Hi all,

I am facing a frequent OutOfMemoryError on the Java heap space after just 
a few hits on the application. (The page buffer for a few jsps are of the 
range 4000kb) 

The heap size for the app is 128 MB. 

The server i am using is TC 6.0.24 and tomcat-dbcp for pooling and MS SQL 
server 2005 for database. 

Earlier, I was using TC 4 with mssql pooling(pool.exe) without any issue 
on a 64 MB heap size. 

 The following is the configuration for pooling in my context xml : 

<Resource name="jdbc/sql_2005" 
auth="Container" 
type="javax.sql.DataSource" 
removeAbandoned="true" 
removeAbandonedTimeout="60" 
logAbandoned="true" 
testOnBorrow="true" 
maxActive="100"
maxIdle="15"
maxWait="1000"
username="" 
password="" 
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" 
url="jdbc:sqlserver://msSqlServer:1433;databaseName=dbName" 
description="SQL 2005 datasource"></Resource> 

Is this an issue with the server memory management or is there something 
wrong with the configuration,
or any other thing that i am overlooking? Please advise. 


Aparna V
Tata Consultancy Services
Mailto: aparna1.v@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



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