This discussion is archived
2 Replies Latest reply: Nov 4, 2011 7:39 PM by 590942 RSS

UCP (Universal Connection Pool) Issue

590942 Newbie
Currently Being Moderated
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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points