I have added a testcase on jms, go to jboss-head/jms/test and call ant 
memory-leak-tests
(On windows only for now, using a JDK 5).


At the end of the test, I have these following unexpected objects. It doesn't 
seem a memory leak, just something that I didn't expect at this point.


  | [junit] <br> Class [Ljava.security.ProtectionDomain; had an increase of 10 
instances represented by 400 bytes
  | [junit] <br> Class EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker 
had an increase of 10 instances represented by 160 bytes
  | [junit] <br> Class java.lang.ThreadLocal$ThreadLocalMap$Entry had an 
increase of 30 instances represented by 960 bytes
  | [junit] <br> Class java.util.HashMap$Entry had an increase of 10 instances 
represented by 240 bytes
  | [junit] <br> Class java.security.AccessControlContext had an increase of 10 
instances represented by 240 bytes
  | [junit] <br> Class java.lang.Thread had an increase of 10 instances 
represented by 960 bytes
  | [junit] <br> Class [Ljava.lang.ThreadLocal$ThreadLocalMap$Entry; had an 
increase of 20 instances represented by 1600 bytes
  | [junit] <br> Class java.util.ArrayList had an increase of 10 instances 
represented by 240 bytes
  | [junit] <br> Class java.lang.ThreadLocal$ThreadLocalMap had an increase of 
20 instances represented by 480 bytes

Anyway, another similar testcase, without using ObjectSerialization or 
expressions didn't have this.

This won't change if you produce 1000 or 100 messages.


Anyway, the testcase is working. Maybe we could work in top of that.



Clebert

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948824#3948824

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948824


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to