In the heap dump there were 3 queues of around 2G each, I thought 256M per memcache connection should be good enough, also things are expected to pile up in the queue to this extent only during connection interruptions.