Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
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.