You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/05 21:09:27 UTC
[jira] [Commented] (LUCENE-6814) PatternTokenizer indefinitely
holds heap equal to max document it has ever tokenized
[ https://issues.apache.org/jira/browse/LUCENE-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992374#comment-14992374 ]
ASF subversion and git services commented on LUCENE-6814:
---------------------------------------------------------
Commit 1712863 from [~mikemccand] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1712863 ]
LUCENE-6814: release heap in PatternTokenizer.close
> PatternTokenizer indefinitely holds heap equal to max document it has ever tokenized
> ------------------------------------------------------------------------------------
>
> Key: LUCENE-6814
> URL: https://issues.apache.org/jira/browse/LUCENE-6814
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: Trunk, 5.4
>
> Attachments: LUCENE-6814.patch, LUCENE-6814.patch
>
>
> Caught by Alex Chow in this Elasticsearch issue: https://github.com/elastic/elasticsearch/issues/13721
> Today, PatternTokenizer reuses a single StringBuilder, but it doesn't free its heap usage after tokenizing is done. We can either stop reusing, or ask it to {{.trimToSize}} when we are done ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org