jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Damioli (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-2505) High memory usage on node with multi-valued string properties
Date Mon, 22 Feb 2010 12:36:28 GMT

    [ https://issues.apache.org/jira/browse/JCR-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836601#action_12836601
] 

Cédric Damioli commented on JCR-2505:
-------------------------------------

do you mean lucene tokenizer ?
what about non-whitespace-aware tokenizers ? (is there any ? CJK maybe ?)


> High memory usage on node with multi-valued string properties
> -------------------------------------------------------------
>
>                 Key: JCR-2505
>                 URL: https://issues.apache.org/jira/browse/JCR-2505
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> Multi-valued string properties are tokenized per value, which may consume quite some
memory when there are lots of small values in on a property. The memory footprint is 2k per
value, because each value is tokenized with a separate tokenizer instance. That tokenizer
uses a stream buffer of 2k bytes.
> Instead the values should be concatenated (whitespace separated) and then tokenized in
one go.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message