title: java memory leak weblogic AES bouncy castle
body: <p>I have web service deployed on WebLogic which utilizes the bouncy castle to do a AES 256 bit decryption. This is causing a memory leak. A few logs which I have got are these</p>
  
  <pre><code>--------- Detailed Heap Statistics: ---------
  26.9% 429099k 13731188 +429099k java/util/LinkedHashMap$Entry
  16.2% 258003k  2969579 +258003k [C
  11.0% 175144k  3202651 +175144k java/security/Provider$Service
  10.7% 170955k  7294115 +170955k java/util/Hashtable$Entry
   9.5% 152003k  6485501 +152003k java/security/Provider$ServiceKey
   8.3% 132945k    61545 +132945k [Ljava/util/HashMap$Entry;
   4.6% 72660k  3100166 +72660k java/lang/String
   3.1% 49413k    20140 +49413k [Ljava/util/Hashtable$Entry;
   3.0% 47766k  1504343 +47766k [Ljava/lang/Object;
   2.2% 34712k  1481059 +34712k java/util/ArrayList
   0.6% 10035k    29012 +10035k [B
       1593352kB total ---
  
  --------- End of Detailed Heap Statistics ---
  </code></pre>
  
  <p>I know this is not enough information. Sorry about that. Can anyone why is this memory leak happening? I am particularly interested in memory leak dude to  java/security/Provider$ServiceKey. 
  Thanks in advance.</p>