JGroups throws OutOfMemoryError after running for a few hours
-------------------------------------------------------------

         Key: JGRP-33
         URL: http://jira.jboss.com/jira/browse/JGRP-33
     Project: JGroups
        Type: Bug
    Versions: 2.2.8    
 Environment: SUN JDK 1.4.2_05
    Reporter: B.S.Navin
 Assigned to: Bela Ban 
    Priority: Critical


I ran 10 instances of a simple program with 3 threads. The max memory is kept 
as the JVM default (64M). The 10 programs join the same JGroup and the threads 
in the programs keep publishing a small hashmap at 5 second intervals.

The heap memory consumed (Runtime.totalMemory() - Runtime.freeMemory()) slowly 
increases over a period of 4-5 hours and reaches the default max limit (64M) 
when it starts throwing OutOfMemory errors on all instances.

I have run the program on unix and windows machines with 1G RAM.

Not able to make much from an HProf output of one of the instances.

This seems to be the cause for the JBossCache bug 
"http://jira.jboss.com/jira/browse/JBCACHE-31"; too.

I have tried out a UDP/PING and a UDP/TCPPING combination and this problem 
occurs in both cases.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to