[
https://issues.apache.org/jira/browse/SLING-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Tripodi updated SLING-5730:
----------------------------------
Attachment: SLING-5730.3.patch
Sorry, I just realised there was an error in the
{{org.apache.sling.distribution.util.impl.FileBackedMemoryOutputStream.flush()}}
method, please have a look at the {{.3.patch}} file, thanks! :P
> 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.1.patch, SLING-5730.2.patch,
> SLING-5730.3.patch, 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)