Results 1 to 3 of 3
  1. #1
    bedhinesh is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default Memory issue in servlet application in a tomcat container

    Hi ,
    i am a newbie in tomcat server and webapplication . we have a simple servlet application running in a tomcat container . which handles more than 10 requests in a sec . in the application we are storing the recieved xml in the server .

    the used memory size was gradually inceased upto 11 GB out of 12GB . when i killed all java also the memory used was not released .

    28390: /usr/java/jdk1.5.0_06/bin/java -Xms128m -Xmx1536m -Djava.util.logging.manager=org.apache.juli.ClassLo aderLogManager -Djava.util.logging.config.file=/usr/local/tomcat//conf/logging.properties -Djava.endorsed.dirs=/usr/local/tomcat//common/endorsed -classpath :/usr/local/tomcat//bin/bootstrap.jar:/usr/local/tomcat//bin/commons-logging-api.jar -Dcatalina.base=/usr/local/tomcat/ -Dcatalina.home=/usr/local/tomcat/ -Djava.io.tmpdir=/usr/local/tomcat//temp org.apache.catalina.startup.Bootstrap start
    Address Kbytes RSS Anon Locked Mode Mapping
    00283000 60 - - - r-x-- libresolv-2.5.so
    00292000 4 - - - r-x-- libresolv-2.5.so
    00293000 4 - - - rwx-- libresolv-2.5.so
    00294000 8 - - - rwx-- [ anon ]
    009b2000 104 - - - r-x-- ld-2.5.so
    009cc000 4 - - - r-x-- ld-2.5.so
    009cd000 4 - - - rwx-- ld-2.5.so
    009d0000 1268 - - - r-x-- libc-2.5.so
    00b0d000 8 - - - r-x-- libc-2.5.so
    00b0f000 4 - - - rwx-- libc-2.5.so
    00b10000 12 - - - rwx-- [ anon ]
    00b15000 8 - - - r-x-- libdl-2.5.so
    00b17000 4 - - - r-x-- libdl-2.5.so
    00b18000 4 - - - rwx-- libdl-2.5.so
    00b1b000 148 - - - r-x-- libm-2.5.so
    00b40000 4 - - - r-x-- libm-2.5.so
    00b41000 4 - - - rwx-- libm-2.5.so
    00b44000 76 - - - r-x-- libpthread-2.5.so
    00b57000 4 - - - r-x-- libpthread-2.5.so
    00b58000 4 - - - rwx-- libpthread-2.5.so
    00b59000 8 - - - rwx-- [ anon ]
    00c7f000 76 - - - r-x-- libnsl-2.5.so
    00c92000 4 - - - r-x-- libnsl-2.5.so
    00c93000 4 - - - rwx-- libnsl-2.5.so
    00c94000 8 - - - rwx-- [ anon ]
    08048000 60 - - - r-x-- java
    08057000 8 - - - rwx-- java
    0977a000 14444 - - - rwx-- [ anon ]
    47da4000 12 - - - rwx-- [ anon ]
    47da7000 504 - - - rwx-- [ anon ]
    47e25000 12 - - - rwx-- [ anon ]
    47e28000 504 - - - rwx-- [ anon ]
    47ea6000 12 - - -
    [ anon ]
    47ea9000 504 - - - rwx-- [ anon ]
    47f27000 12 - - -
    [ anon ]
    47f2a000 504 - - - rwx-- [ anon ]
    47fa8000 12 - - -
    [ anon ]
    47fab000 504 - - - rwx-- [ anon ]
    48029000 12 - - -
    [ anon ]
    4802c000 504 - - - rwx-- [ anon ]
    480aa000 12 - - -
    [ anon ]
    480ad000 504 - - - rwx-- [ anon ]
    4812b000 12 - - -
    [ anon ]
    4812e000 504 - - - rwx-- [ anon ]
    481ac000 12 - - -
    [ anon ]
    481af000 504 - - - rwx-- [ anon ]
    4822d000 12 - - -
    [ anon ]
    48230000 504 - - - rwx-- [ anon ]
    482ae000 12 - - - rwx-- [ anon ]
    482b1000 504 - - - rwx-- [ anon ]
    4832f000 12 - - -
    [ anon ]
    48332000 504 - - - rwx-- [ anon ]
    4d201000 204 - - - r-xs- catalina-cluster.jar
    4d234000 108 - - - r-xs- commons-modeler.jar
    4d24f000 8 - - - r-xs- servlets-invoker.jar
    4d251000 88 - - - r-xs- tomcat-http.jar
    4d267000 164 - - - r-xs- tomcat-ajp.jar
    4d290000 24 - - - r-xs- servlets-webdav.jar
    4d296000 24 - - - r-xs- catalina-ant-jmx.jar
    4d29c000 20 - - - r-xs- tomcat-coyote.jar
    4d2a1000 20 - - - r-xs- tomcat-jkstatus-ant.jar
    4d2a6000 64 - - - r-xs- catalina-storeconfig.jar
    4d2b6000 28 - - - r-xs- catalina-ant.jar
    4d2bd000 20 - - - r-xs- servlets-default.jar
    4d2c2000 48 - - - r-xs- naming-resources.jar
    4d2ce000 52 - - - r-xs- jsp-api.jar
    4d2db000 40 - - - r-xs- naming-factory.jar
    4d2e5000 76 - - - r-xs- jasper-runtime.jar
    4d2f8000 112 - - - r-xs- commons-el.jar
    4d314000 96 - - - r-xs- servlet-api.jar
    4d32c000 400 - - - r-xs- jasper-compiler.jar
    4d390000 152 - - - r-xs- naming-factory-dbcp.jar
    4d3b6000 412 - - - r-xs- mysql-connector-java-3.1.10-bin.jar
    4d41d000 1188 - - - r-xs- jasper-compiler-jdt.jar
    4d546000 40 - - - r-xs- tomcat-i18n-en.jar
    4d550000 36 - - - r-xs- tomcat-i18n-es.jar
    4d559000 32 - - - r-xs- tomcat-i18n-fr.jar
    4d561000 36 - - - r-xs- tomcat-i18n-ja.jar
    4d56a000 784 - - - r-xs- localedata.jar
    4d62e000 172 - - - r-xs- sunpkcs11.jar
    4d659000 152 - - - r-xs- sunjce_provider.jar
    4d67f000 4 - - -
    [ anon ]
    4d680000 1528 - - - rwx-- [ anon ]
    4d7fe000 8 - - -
    [ anon ]

    this is the total java process running in the system . i am not able to identify the process - r-x-- [ anon ] ..( i deleted more anon process as the character exceeds more ) please advise me to find a solution for this ..

    thanks
    Dhinesh

  2. #2
    parul1234 is offline Member
    Join Date
    Jul 2009
    Posts
    4
    Rep Power
    0

    Default

    I think there is some memory leakage .. you will need to find it out ..

  3. #3
    bedhinesh is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default Memory issue in servlet application in a tomcat container

    Hi parul1234 thanks for your reply . i know that there is a memory leak . i want to know how we can figure out where the leak is and how to solve that .

    Thanks

Similar Threads

  1. Replies: 1
    Last Post: 12-02-2008, 01:23 AM
  2. Tomcat Issue
    By sanyog24681 in forum Java Servlet
    Replies: 1
    Last Post: 10-20-2008, 10:08 AM
  3. Servlet memory management
    By chilljava in forum Java Servlet
    Replies: 0
    Last Post: 06-23-2008, 11:53 PM
  4. [SOLVED] Servlet memory management
    By chilljava in forum Java Servlet
    Replies: 0
    Last Post: 06-23-2008, 11:33 PM
  5. Replies: 0
    Last Post: 04-21-2008, 07:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •