Closed arowla closed 10 years ago
Interesting @arowla! I just saw this. If you can give me a script which indexes a little bit of data that can reliably cause the issue, that would greatly help. Before you do that, however, have you tried setting --scroll-size
to something smaller, like 10
? The default is 500
which may be too big if your docs are large.
I had the same issue as @arowla . I decreased scroll-size parameter and it helped me.
Thanks @vasergen. FYI, @arowla, you can adjust these to help here:
% stream2es es --help | fgrep scroll
--scroll-size Source scroll size (default: 500)
--scroll-time Source scroll context TTL (default: "15s")
I saw closed issue #15 about an out of memory error, but I just built stream2es from master, so this seems to be a different issue. I am using ES with the mapper attachments plugin. If I transfer my document type that doesn't contain attachments, stream2es does fine, but if I try to stream the document type which does contain attachments, or the whole index, I get an out of memory error, as seen below. I am using ES 1.1.0.