You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2017/07/18 09:01:00 UTC

[jira] [Assigned] (OAK-6462) Incorrect memory calculation for bundled node states

     [ https://issues.apache.org/jira/browse/OAK-6462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger reassigned OAK-6462:
-------------------------------------

             Assignee: Marcel Reutegger  (was: Chetan Mehrotra)
    Affects Version/s:     (was: 1.5.13)
                       1.6.0
        Fix Version/s:     (was: 1.5.15)
                           (was: 1.6.0)
                       1.8
          Description: 
OAK-1312 introduced bundling of nodes into a document and enabled the feature for nt:file nodes. A DocumentNodeState of type nt:file now has an incorrect memory calculation because the node state references a BundlingContext which also references the binary property reference. Such a node state is now much heavier than before and can cause OOME.

This is a clone of OAK-5226, which was supposed to fix the described issue, however it turns out the fix is not sufficient and memory calculation is still incorrect for bundled nodes/properties.

  was:OAK-1312 introduced bundling of nodes into a document and enabled the feature for nt:file nodes. A DocumentNodeState of type nt:file now has an incorrect memory calculation because the node state references a BundlingContext which also references the binary property reference. Such a node state is now much heavier than before and can cause OOME.


> Incorrect memory calculation for bundled node states
> ----------------------------------------------------
>
>                 Key: OAK-6462
>                 URL: https://issues.apache.org/jira/browse/OAK-6462
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, documentmk
>    Affects Versions: 1.6.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.8
>
>
> OAK-1312 introduced bundling of nodes into a document and enabled the feature for nt:file nodes. A DocumentNodeState of type nt:file now has an incorrect memory calculation because the node state references a BundlingContext which also references the binary property reference. Such a node state is now much heavier than before and can cause OOME.
> This is a clone of OAK-5226, which was supposed to fix the described issue, however it turns out the fix is not sufficient and memory calculation is still incorrect for bundled nodes/properties.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)