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.

Reply via email to