lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <>
Subject Re: RamUsageCrawler
Date Thu, 06 Dec 2018 12:13:55 GMT
> It's entirely possible it fails to dig into Maps correctly with newer Java
> releases; maybe Dawid or Uwe would know?

We have removed all reflection from that class a while ago exactly
because of encapsulation issues introduced in newer Java versions.

I think you may be thinking of RamUsageTester which is in the test
framework and indeed accumulates only keys and values from iterables.
These methods are for tests only and are rough. You shouldn't rely on
them for accurate memory consumption accounting (instead, use the
Accountable interface).



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

View raw message