JBoss A-MQ 6.1: invoking "browseMessages(java.lang.String)" on hawtio results in OutOfMemoryException
Issue
- after invoking "browseMessages(java.lang.String)" on a destination through hawtio, memory consumption increases rapidly and results in an OutOfMemoryException. Observed the following pattern in the dominator tree from the heap dump
Class Name | Shallow Heap | Retained Heap | Percentage
-----------------------------------------------------------------------------------------------------------------
java.lang.Thread @ 0xe492b2a8 qtp1100965499-152 Thread | 104 | 382,895,032 | 92.28%
|- org.json.simple.JSONArray @ 0xe4b13230 | 24 | 357,410,592 | 86.14%
|- org.json.simple.JSONObject @ 0xda17ef70 | 48 | 22,346,680 | 5.39%
|- org.json.simple.JSONObject @ 0xdb6ec398 | 48 | 2,195,904 | 0.53%
|- org.json.simple.JSONObject @ 0xdb911848 | 48 | 483,792 | 0.12%
|- org.json.simple.JSONObject @ 0xdb988c20 | 48 | 256,048 | 0.06%
|- org.json.simple.JSONObject @ 0xda1690d0 | 48 | 84,464 | 0.02%
|- org.json.simple.JSONObject @ 0xdb9049f0 | 48 | 52,432 | 0.01%
|- org.json.simple.JSONObject @ 0xda161840 | 48 | 26,704 | 0.01%
|- org.json.simple.JSONObject @ 0xda15aa68 | 48 | 14,944 | 0.00%
|- org.json.simple.JSONObject @ 0xda15f9b8 | 48 | 7,256 | 0.00%
|- java.lang.ThreadLocal$ThreadLocalMap @ 0xe49595e8 | 24 | 6,112 | 0.00%
|- org.json.simple.JSONObject @ 0xdba156b8 | 48 | 3,456 | 0.00%
|- org.jolokia.converter.json.ObjectSerializationContext @ 0xe4b12fb8| 32 | 1,056 | 0.00%
|- org.json.simple.JSONObject @ 0xe4b132f0 | 48 | 776 | 0.00%
-----------------------------------------------------------------------------------------------------------------
Environment
- JBoss A-MQ 6.1 GA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
