David Smiley created SOLR-12312: ----------------------------------- Summary: Replication's IndexFetcher buf size can be initialized smarter to not waste RAM/GC Key: SOLR-12312 URL: https://issues.apache.org/jira/browse/SOLR-12312 Project: Solr Issue Type: Improvement Security Level: Public (Default Security Level. Issues are Public) Components: replication (java) Reporter: David Smiley
IndexFetcher's constructor knows the size of the file it's going to transfer. As-such, it ought to initialize the "buf" field to no larger than this size. This has been shown to waste Java heap/GC in an environment with lots of cores of small indexes and thus small files. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org