Argha : checking for memory for forced GC after every attempt to send a batch of messages.