[ https://issues.apache.org/jira/browse/LUCENE-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015686#comment-14015686 ]
ASF subversion and git services commented on LUCENE-5724: --------------------------------------------------------- Commit 1599292 from [~mikemccand] in branch 'dev/trunk' [ https://svn.apache.org/r1599292 ] LUCENE-5724: add CHANGES > CompoundFileWriter loses the IOContext sometimes > ------------------------------------------------ > > Key: LUCENE-5724 > URL: https://issues.apache.org/jira/browse/LUCENE-5724 > Project: Lucene - Core > Issue Type: Bug > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 4.9, 5.0 > > Attachments: LUCENE-5724.patch > > > Nightly build hit OOME with this > {noformat} > ant test -Dtestcase=Test2BPostings -Dtests.method=test > -Dtests.seed=33378E77AE43B10B -Dtests.multiplier=2 -Dtests.nightly=true > -Dtests.slow=true > -Dtests.linedocsfile=/home/hudson/lucene-data/enwiki.random.lines.txt > -Dtests.locale=sl -Dtests.timezone=America/Argentina/ComodRivadavia > -Dtests.file.encoding=UTF-8 > {noformat} > The test was using NRTCachingDirectory, but the OOME happens because > CompoundFileWriter's getOutput fails to pass down the incoming IOContext. > IndexWriter has properly set up the IOContext for flush, put a huge file size > in there, but by the time NRTCachingDirectory saw it, it was 0 bytes, and > then many 100s of MB proceeded to be written into the RAMFile. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org