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 "Amit Jain (JIRA)" <ji...@apache.org> on 2017/08/25 04:30:07 UTC
[jira] [Closed] (OAK-6538) Investigate cold standby memory
consumption
[ https://issues.apache.org/jira/browse/OAK-6538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amit Jain closed OAK-6538.
--------------------------
Bulk close for 1.7.6
> Investigate cold standby memory consumption
> --------------------------------------------
>
> Key: OAK-6538
> URL: https://issues.apache.org/jira/browse/OAK-6538
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: segment-tar
> Affects Versions: 1.6.1
> Reporter: Andrei Dulceanu
> Assignee: Andrei Dulceanu
> Priority: Minor
> Labels: cold-standby
> Fix For: 1.8, 1.7.6
>
> Attachments: OAK-6538.patch
>
>
> In an investigation from some time ago, 4GB of heap were needed for transferring 1GB blob and 6GB for 2GB blob. This was in part due to using {{addTestContent}} [0] in the investigation, which allocates a huge {{byte[]}} on the heap.
> OAK-5902 introduced chunking for transferring blobs between primary and standby. This way, the memory needed for syncing a big blob should be around the chunk size used. Solving the way test data is created, it should be possible to transfer a big blob (e.g. 2.5 GB) with less memory.
> [0] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/standby/DataStoreTestBase.java#L96
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)