Physical Memory Dump while running Tomcat - JSP - Javabeans
I'm working on a web site ..which uses -- Javabeans -JSP combination.
back-end is Ms-Access Database, i'm connecting to databases using JDBC from
Javabeans.. and in my JSP pages i'm using those JavaBeans.
I am using Apache Web server with Tomcat 1.3 as JSP-Servlet Engine on Windows
NT workstation 4.0 with 128 MB RAM and 20 GB hard disk.
I am using different JavaBeans of different JSP pages according to my requirements,
i've kept the scope of javabeans to "page".
Now, as per my expectations, the Tomcat would keep releasing memory of the
class objects (bean objects) after unloading the page. But, it doesn't happen.
And the memory consumed by the process "java.exe" keeps increasing and at
last the Physical Memory of the machine dumps.
So, how can I improve the memory management and releasing in my JSP pages/JavaBeans...or
by any way in Tomcat Server ??
Any reply/guidance would be of a great help...
thanks in advance, cvshah.
Re: Physical Memory Dump while running Tomcat - JSP - Javabeans
Are you using the JDBC-ODBC bridge driver or some other driver? I have
heard that JDBC-ODBC bridge has memory leaks (which is your problem), but I
don't know for sure whether that is true.
PC2
"cvshah" <chintu_shah@yahoo.com> wrote in message
news:3b0bf384$1@news.devx.com...
>
> I'm working on a web site ..which uses -- Javabeans -JSP combination.
> back-end is Ms-Access Database, i'm connecting to databases using JDBC
from
> Javabeans.. and in my JSP pages i'm using those JavaBeans.
>
> I am using Apache Web server with Tomcat 1.3 as JSP-Servlet Engine on
Windows
> NT workstation 4.0 with 128 MB RAM and 20 GB hard disk.
>
> I am using different JavaBeans of different JSP pages according to my
requirements,
> i've kept the scope of javabeans to "page".
>
> Now, as per my expectations, the Tomcat would keep releasing memory of the
> class objects (bean objects) after unloading the page. But, it doesn't
happen.
> And the memory consumed by the process "java.exe" keeps increasing and at
> last the Physical Memory of the machine dumps.
>
> So, how can I improve the memory management and releasing in my JSP
pages/JavaBeans...or
> by any way in Tomcat Server ??
>
> Any reply/guidance would be of a great help...
>
> thanks in advance, cvshah.
>
>
>
>
Re: Physical Memory Dump while running Tomcat - JSP - Javabeans
The best way is to give using tomcat 3.1 and try to use weblogic 6.0 and donot
use jdbc:odbc connection, try thin driver, please apply these ideas and reply
me sooon. Regards
Yatin Patel, NJ, USA
"cvshah" <chintu_shah@yahoo.com> wrote:
>
>I'm working on a web site ..which uses -- Javabeans -JSP combination.
>back-end is Ms-Access Database, i'm connecting to databases using JDBC from
>Javabeans.. and in my JSP pages i'm using those JavaBeans.
>
>I am using Apache Web server with Tomcat 1.3 as JSP-Servlet Engine on Windows
>NT workstation 4.0 with 128 MB RAM and 20 GB hard disk.
>
>I am using different JavaBeans of different JSP pages according to my requirements,
>i've kept the scope of javabeans to "page".
>
>Now, as per my expectations, the Tomcat would keep releasing memory of the
>class objects (bean objects) after unloading the page. But, it doesn't happen.
>And the memory consumed by the process "java.exe" keeps increasing and at
>last the Physical Memory of the machine dumps.
>
>So, how can I improve the memory management and releasing in my JSP pages/JavaBeans...or
>by any way in Tomcat Server ??
>
>Any reply/guidance would be of a great help...
>
>thanks in advance, cvshah.
>
>
>
>