Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1283

MFC: OOME due to credits being out of sync

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.12
    • None
    • None
    • Hide

      Please find attached an eclipse project. There is an eclipse launcher for running the test case from eclipse, but from the command line it's just:

      java -cp bin:jgroups-2.11.0.GA.jar -Djava.net.preferIPv4Stack=true a.Leader

      It starts a cluster, then starts 3 child jvms which each connect to the cluster and broadcast 50,000 byte messages with no pause in between. The master uses kill -SIGHALT and kill -SIGCONT to pause and unpause the first child, simulating onerous full gc's.

      On my macbook pro (java 6u22) and my linux desktop (6u23), we obtain an OutOfMemoryError within a couple of minutes.

      Show
      Please find attached an eclipse project. There is an eclipse launcher for running the test case from eclipse, but from the command line it's just: java -cp bin:jgroups-2.11.0.GA.jar -Djava.net.preferIPv4Stack=true a.Leader It starts a cluster, then starts 3 child jvms which each connect to the cluster and broadcast 50,000 byte messages with no pause in between. The master uses kill -SIGHALT and kill -SIGCONT to pause and unpause the first child, simulating onerous full gc's. On my macbook pro (java 6u22) and my linux desktop (6u23), we obtain an OutOfMemoryError within a couple of minutes.

    Attachments

      1. Follower.java
        2 kB
        Bela Ban
      2. Leader.java
        1 kB
        Bela Ban
      3. Leader.java
        5 kB
        Bela Ban
      4. oome.tgz
        2.38 MB
        ronald yang
      5. oome.tgz
        2.38 MB
        ronald yang
      6. tcp-nio.xml
        3 kB
        Bela Ban

      Issue Links

        Activity

          People

            rhn-engineering-bban Bela Ban
            b0b0b0b ronald yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: