You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/08/06 19:07:05 UTC

[jira] [Updated] (LUCENE-6715) TestPerFieldDocValuesFormat.testRamBytesUsed failure

     [ https://issues.apache.org/jira/browse/LUCENE-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand updated LUCENE-6715:
---------------------------------
    Attachment: LUCENE-6715.patch

This is related to the new table encoding that we are doing for SORTED_SET fields. We don't take it into account when measuring ram usage of doc values producers. We could keep saying it doesn't matter but on the other hand, it's not too hard to take into account and could be helpful to track memory issues with abusers who have thousands of fields?

> TestPerFieldDocValuesFormat.testRamBytesUsed failure
> ----------------------------------------------------
>
>                 Key: LUCENE-6715
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6715
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Steve Rowe
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6715.patch
>
>
> My Jenkins found this seed on branch_5x with Java8 on Linux, but it repros for me with Java7 and on trunk on OS X - here's the trunk failure:
> {noformat}
>    [junit4] Suite: org.apache.lucene.codecs.perfield.TestPerFieldDocValuesFormat
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPerFieldDocValuesFormat -Dtests.method=testRamBytesUsed -Dtests.seed=EE5133C78AE812F3 -Dtests.slow=true -Dtests.locale=es_CL -Dtests.timezone=Canada/Newfoundland -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 2.27s | TestPerFieldDocValuesFormat.testRamBytesUsed <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: Actual RAM usage 17156, but got 20616, -20.16787129867102% error
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([EE5133C78AE812F3:1CF2218740970DA5]:0)
>    [junit4]    > 	at org.apache.lucene.index.BaseIndexFileFormatTestCase.testRamBytesUsed(BaseIndexFileFormatTestCase.java:282)
>    [junit4]    > 	at org.apache.lucene.index.BaseDocValuesFormatTestCase.testRamBytesUsed(BaseDocValuesFormatTestCase.java:78)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): {}, docValues:{}, sim=DefaultSimilarity, locale=es_CL, timezone=Canada/Newfoundland
>    [junit4]   2> NOTE: Mac OS X 10.10.4 x86_64/Oracle Corporation 1.8.0_20 (64-bit)/cpus=8,threads=1,free=213922040,total=257425408
>    [junit4]   2> NOTE: All tests run in this JVM: [TestPerFieldDocValuesFormat]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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