[ http://jira.jboss.com/jira/browse/JBCACHE-31?page=comments#action_12314903 ] Bela Ban commented on JBCACHE-31: ---------------------------------
Tried on JDK 5 with 5 different CacheMemTest processes (arg is 1-5). After 15 minutes of running, heap is unchanged at ca 1.8MB and non-heap at ca 17MB. These numbers are more or less constant for all 5 processes (used jconsole). I could probably try to run the 5 processes over a period of some hours, but I doubt these numbers are going to change. > Out of memory problem > --------------------- > > Key: JBCACHE-31 > URL: http://jira.jboss.com/jira/browse/JBCACHE-31 > Project: JBoss Cache > Type: Bug > Versions: 1.2 > Reporter: Bela Ban > Assignee: Bela Ban > Priority: Critical > Fix For: 1.2.1 > Attachments: CacheMemTest.java > > Original Estimate: 1 week > Remaining: 1 week > > I was able to reproduce the OOME using a simple java program using JBossCache. > > > > > >I have attached a java program "CacheMemTest.java" that mimicks our > > >actual scenario (3 threads / process posting to the same JBossCache > > >into the same node every time). > > > > > >I ran 5 instances of this program in different JVMs in the background. > > >I passed numbers 1 to 5 as the arguments to the 5 programs (for the > > >processNum). > > > > > >After about 3 hours, the program started throwing OOMEs.. The stack > > >trace for each of them was : > > > > > >org.jboss.util.NestedRuntimeException: - nested throwable: > > >(java.lang.OutOfMemoryError) > > > at java.lang.Thread.run(Thread.java:552) > > >Caused by: java.lang.OutOfMemoryError > > >org.jboss.util.NestedRuntimeException: - nested throwable: > > >(java.lang.OutOfMemoryError) > > > at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3184) > > > at org.jboss.cache.TreeCache.put(TreeCache.java:1741) > > > at org.jboss.cache.TreeCache.put(TreeCache.java:1724) > > > at CacheMemTest$PublishThread.run(CacheMemTest.java:65) > > > > > >Is this a known problem? Any idea how I can go about debugging this > > >problem? > > > > > >Navin -- 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