[
https://issues.apache.org/jira/browse/SLING-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393795#comment-15393795
]
Tommaso Teofili commented on SLING-5730:
----------------------------------------
thanks [~simone.tripodi] for your patch, it looks good to me.
You can configure a {{ResourceDistributionPackageBuilder}} either in
{{DistributionPackageBuilderFactory}} or in
{{VaultDistributionPackageBuilderFactory}}.
Both are generic and can either use Resource or File package builders, I was
wondering if maybe this improvement makes also sense for the
{{FileDistributionPackageBuilderFactory}}.
> Avoid creating a File of a package when it's small enough to fit in memory
> --------------------------------------------------------------------------
>
> Key: SLING-5730
> URL: https://issues.apache.org/jira/browse/SLING-5730
> Project: Sling
> Issue Type: Improvement
> Components: Distribution
> Reporter: Tommaso Teofili
> Assignee: Simone Tripodi
> Attachments: SLING-5730.patch
>
>
> {{ResourcePackageBuilder}} creates a temporary file holding the actual
> package stream, it'd be good to avoid that when the size of the stream is
> small enough to quickly fit into memory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)