You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2014/02/13 08:16:20 UTC

[jira] [Created] (LUCENE-5443) DocValuesProducer#ramBytesUsed throws ConcurrentModificationException

Simon Willnauer created LUCENE-5443:
---------------------------------------

             Summary: DocValuesProducer#ramBytesUsed throws ConcurrentModificationException
                 Key: LUCENE-5443
                 URL: https://issues.apache.org/jira/browse/LUCENE-5443
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/codecs
    Affects Versions: 4.6.1, 4.6, 5.0, 4.7
            Reporter: Simon Willnauer
            Assignee: Simon Willnauer
            Priority: Minor
             Fix For: 5.0, 4.7


this came up in an [elasticsearch issue|https://github.com/elasticsearch/elasticsearch/issues/5104] that if you pull _#ramBytesUsed()_ while docvalues are loaded in a seperate thread you see a _ConcurrentModificationException_ here is an example:

{noformat}
Caused by: java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)
        at java.util.HashMap$ValueIterator.next(HashMap.java:954)
        at org.apache.lucene.codecs.lucene45.Lucene45DocValuesProducer.ramBytesUsed(Lucene45DocValuesProducer.java:291)
        at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsReader.ramBytesUsed(PerFieldDocValuesFormat.java:308)
        at org.apache.lucene.index.SegmentDocValues.ramBytesUsed(SegmentDocValues.java:103)
        at org.apache.lucene.index.SegmentReader.ramBytesUsed(SegmentReader.java:555)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org