Heap is fully consumed by BouncyCastle objects
Issue
- Out of memory errors are seen in JBoss instances.
- Examining the heap dump shows the majority of memory is consumed by BouncyCastle:
Class Name | Objects | Shallow Heap | Retained Heap
-------------------------------------------------------------------------------------------
org.bouncycastle.jce.provider.BouncyCastleProvider| 5,440 | 522,240 | 1,601,020,200
-------------------------------------------------------------------------------------------
Environment
- Red Hat JBoss Enterprise Application Platform 6
- BouncyCastle 1.47
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.