Hi All, Recently we upgraded to AMQ5.4.2 and jmap histo on the broker shows that the Array of DataStructure objects is using more than 75% of total heap, with each instance weighing around 52-55K(in prod).
num #instances #bytes class name 1: 12054 656514208 [Lorg.apache.activemq.command.DataStructure; Each array is so huge and contains about 16383 DataStructure objects. In the OpenWireFormat , i see the below two. MARSHAL_CACHE_SIZE is Short.MAX_VALUE / 2; private DataStructure marshallCache[] = new DataStructure[MARSHAL_CACHE_SIZE]; private DataStructure unmarshallCache[] = new DataStructure[MARSHAL_CACHE_SIZE]; Though this piece of code is same in AMQ 5.2, we see it there only 1024 objects in the array and the array size is just about 4K or so. Help me out. Thanks in advance. -jagadeesh- -- View this message in context: http://activemq.2283324.n4.nabble.com/5-4-2-Lorg-apache-activemq-command-DataStructure-tp3731194p3731194.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.