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