[
https://issues.apache.org/jira/browse/LUCENE-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-5757:
--------------------------------
Attachment: LUCENE-5757.patch
Here's a committable patch. I removed the forbidden "rue" stuff (as its only
now accessible by tests), and removed the toString() stuff in MemoryIndex (this
was a real performance trap, and this is a one-document index...). If for some
strange reason someone needs this info on a 1-document index, they can get it
from https://github.com/dweiss/java-sizeof or similar.
Once we do this, we can look at adding features to RamUsageTester so we can
better test with it.
> Move RAMUsageEstimator "reflector" to test-framework
> ----------------------------------------------------
>
> Key: LUCENE-5757
> URL: https://issues.apache.org/jira/browse/LUCENE-5757
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-5757.patch, LUCENE-5757.patch
>
>
> This method is "banned" already because it can crawl slowly across large
> object graphs.
> I think it should be in the test framework. It needs enhancements for testing
> such as some way to filter what is crawled.
> Currently lots of code in lucene tries to provide accounting information but
> its all totally untested. We need to fix the test situation or remove
> Accountable and such methods completely.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]