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

MFC: OOME due to credits being out of sync

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor 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.

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

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: