Physical Memory Dump while running Tomcat - JSP - Javabeans


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Physical Memory Dump while running Tomcat - JSP - Javabeans

  1. #1
    cvshah Guest

    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.





  2. #2
    Paul Clapham Guest

    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.
    >
    >
    >
    >




  3. #3
    yatin Guest

    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 jdbcdbc 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.
    >
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center