lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: MappedByteBuffer duplicates
Date Fri, 24 Feb 2017 18:39:00 GMT

that is not an issue, the duplicates are required for so called IndexInput clones and splices.
Every search request will create many of them. But there is no need to worry, they are just
thin wrappers - they don't allocate any extra off-heap memory. They are just there to have
a separate position(), limit() and other settings for each searcher thread.

Why do you worry?

Uwe Schindler
Achterdiek 19, D-28357 Bremen

> -----Original Message-----
> From: Kameron Cole []
> Sent: Friday, February 24, 2017 7:19 PM
> To:
> Subject: MappedByteBuffer duplicates
> We have a Lucene engine that creates MappedByteBuffer objects when
> creating the Lucene index.  I don't know Lucene well enough to know if
> this standard behavior.
> The mapped files are being created by Lucene, via the JRE's NIO APIs
> native file mapping underneath each MappedByteBuffer object. We see an
> issue where duplicate MappedByteBuffer objects are being created.  Has
> anyone seen this?
> Thank you!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message