mattbaird/elastigo — pull request #99 by warebot (2014-06-13 01:41:01+00:00)
Title: Fixed memory leak

b.buf = new(bytes.Buffer) was allocating memory that was not being released back to the OS.
You can reproduce the memory leak by indexing a large document or multiple documents using bulk index.

The Reset() function seems to be the better approach.

Environment:
Mac OS X Mavericks
64 bit