hi all, Im using Tomcat 4.0 and MS-Access. Im woking on a web application which include abt 150 jsp pages and lots of database manipulation. My problem is that my application runs very slow after 10-15 processing.. I mean, if i close the Tomcat server and restart it, then it works very properly..im using connection pool for database manipulation..Wat cld be the problem ?? I'm follwing MVC architecture for my project. cld any1 help me ??? Thanks, raj
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
One possibility would be that your application is using an increasing amount of memory and the slowdown is due to the operating system paging memory in and out. Do you see alot of disk activity? Can you watch the memory in use? Bill
Joined: Aug 27, 2002
hi william, Thanks for ur reply and u were absolutely right !! I checked my system's memory usage and it keeps on increasing after each process.. Cld u tell me how to rectify this situation ?? Thanks, raj.
Author and all-around good cowpoke
Joined: Mar 22, 2000
You are going to have to conduct a very careful review of the code. In particular, make sure you are properly closing and disposing of the JDBC related classes. I have heard that they are frequently the cause of such problems if not properly disposed of. Bill