We'd like to graph the approximate RAM size of our SolrCache instances. Our first attempt at doing this was to use the Lucene RamUsageEstimator [1].
Unfortunately, this appears to give a bogus result. Every instance of FastLRUCache was judged to have the same exact size, down to the byte. I assume this is due to an issue with how the variably-sized backing maps were calculated, but I'm not sure. Any ideas for how to get an accurate RAM estimation for SolrCache objects? --Gregg [1] https://gist.github.com/greggdonovan/10682810