[jira] [Updated] (LUCENE-4995) Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer
[ https://issues.apache.org/jira/browse/LUCENE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrien Grand updated LUCENE-4995: - Attachment: LUCENE-4995.patch Here is a patch which only reuses the buffer when there is less than 32kb of data to decompress. Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer Key: LUCENE-4995 URL: https://issues.apache.org/jira/browse/LUCENE-4995 Project: Lucene - Core Issue Type: Bug Reporter: Adrien Grand Assignee: Adrien Grand Attachments: cpuGraph_4995Patch.jpg, heapGraph_4995Patch.jpg, LUCENE-4995.patch, LUCENE-4995.patch CompressingStoredFieldsReader has a strong reference on the buffer it uses for decompression. Although it makes the reader able to reuse this buffer, this can trigger high memory usage in case some documents are very large. Creating this buffer on demand would help give memory back to the JVM. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (LUCENE-4995) Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer
[ https://issues.apache.org/jira/browse/LUCENE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aditya updated LUCENE-4995: --- Attachment: cpuGraph_4995Patch.jpg heapGraph_4995Patch.jpg Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer Key: LUCENE-4995 URL: https://issues.apache.org/jira/browse/LUCENE-4995 Project: Lucene - Core Issue Type: Bug Reporter: Adrien Grand Assignee: Adrien Grand Attachments: cpuGraph_4995Patch.jpg, heapGraph_4995Patch.jpg, LUCENE-4995.patch CompressingStoredFieldsReader has a strong reference on the buffer it uses for decompression. Although it makes the reader able to reuse this buffer, this can trigger high memory usage in case some documents are very large. Creating this buffer on demand would help give memory back to the JVM. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (LUCENE-4995) Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer
[ https://issues.apache.org/jira/browse/LUCENE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrien Grand updated LUCENE-4995: - Attachment: LUCENE-4995.patch Patch. CompressingTermVectorsReader doesn't need the fix since it already creates the decompression buffer on demand. Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer Key: LUCENE-4995 URL: https://issues.apache.org/jira/browse/LUCENE-4995 Project: Lucene - Core Issue Type: Bug Reporter: Adrien Grand Assignee: Adrien Grand Attachments: LUCENE-4995.patch CompressingStoredFieldsReader has a strong reference on the buffer it uses for decompression. Although it makes the reader able to reuse this buffer, this can trigger high memory usage in case some documents are very large. Creating this buffer on demand would help give memory back to the JVM. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org