@jpountz
Hi Adrien,
Thank you very much for your reply.
I was thinking the same initially by looking into backtrace.
I commented out code which do indexing operation (perform request code) and kept encoder code un commented. I saw there was no memory leak.
I was going through few article/blog what is best method for Base64 encoding.
I am thinking mostly bug is in encoder...
I will update you with my finding until i solved this issue.
Could you recommend me any encoder which is use for Elastic Search for best performance. I am using ingestattachment plugin for indexing pdf, doc, etc... files.
Thank you 