2 Replies Latest reply on Nov 5, 2011 2:39 AM by 590942

    UCP (Universal Connection Pool) Issue


      I always get out-of-memory exception when I try to DEBUG my UCP connectionpool code in eclipse. And running Jconsole showed me that for every active connection it is creating 3 and some times 4 or 2 UCP-worker-threads and 3 Timer Threads and some 8-9 Normal Threads. In my Junit am putting the code to sleep for quite sometime after getting a connection. And during this wait for every 30 sec or so it is creating a fresh batch of the above mentioned Thread ARMY.

      This is FOR EVERY ACTIVE CONNECTION. For this Junit I have just one connection with no min and max poolsize.

      Can anyone help!!

      Edited by: Vas on Nov 5, 2011 3:06 AM