ruflin/Elastica — pull request #134 by scragg0x (2012-02-15 08:19:10+00:00)
Title: I was tracking down a memory leak and found that the curl handle was the...

... source. I honestly don't know what it's persisting. In any case, I modified it to close the handle when it's done. I don't think it will make a difference in performance to close/re-init in this case.

I'm bulk inserting 1million+ docs, 2000 at a time, and no more memory error.