[ 
https://issues.apache.org/jira/browse/OAK-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778761#comment-13778761
 ] 

Marcel Reutegger edited comment on OAK-1041 at 9/26/13 1:24 PM:
----------------------------------------------------------------

This is actually only a problem with Java 6 and previous versions. With Java 7 
(at least the Oracle JVM) {{String.substring()}} actually copies the contents 
of the char array into a new one.
                
      was (Author: mreutegg):
    This is actually only a problem with Java 6. With Java 7 (at least the 
Oracle JVM) {{String.substring()}} actually copies the contents of the char 
array into a new one.
                  
> Inaccurate size estimate in EmpiricalWeigher
> --------------------------------------------
>
>                 Key: OAK-1041
>                 URL: https://issues.apache.org/jira/browse/OAK-1041
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 0.9
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 0.10
>
>
> Similar to OAK-1038, also the EmpiricalWeigher calculates values, which are 
> slightly too low and may lead to OOME. E.g. see OAK-1034.

--
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

Reply via email to