no minor GC

Discussion in 'Java' started by gmh, May 16, 2007.

  1. gmh

    gmh Guest

    I have a web-based Java application running under Tomcat 5.0.16,
    started with the following JVM options:


    (my JVM version is 1.5.0_11 (64 bit))

    In monitoring the application, both with jconsole (from JDK 1.5) and
    looking at the garbage collection log, I have seen that after several
    days of usage, there are no longer any minor GCs taking place; it
    appears, from the jconsole graph, that objects go straight from Eden
    space to tenured space, and the GC takes place there. I see this in
    the GC log as after those several days, there are no minor GCs listed
    in my log, only full GCs. As far as I know, there are no explicit
    calls to System.gc() in the application. I know that using RMI causes
    a full GC every minute by default, but I'm seeing too many full GCs
    for this to be the case. What does this lack of minor GCs indicate?


    gmh, May 16, 2007
    1. Advertisements

  2. Maybe your sessions do not expire and they hold on to too much data.
    Just a wild guess.

    Robert Klemme, May 16, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.