[
https://issues.apache.org/jira/browse/SLING-5924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399431#comment-15399431
]
Simone Tripodi edited comment on SLING-5924 at 7/29/16 2:47 PM:
----------------------------------------------------------------
An idea I just had is adding a flag to enable large files storage in memory via
direct {{ByteBuffer}}... WDYT? I could prepare a patch for this so we can give
users more freedom.
Of course, in order to have it, fileThreshold has to be a {{long}} and not an
{{int}}...
Just let me know!
was (Author: simone.tripodi):
An idea I just had is adding a flag to enable large files storage in memory via
direct {{ByteBuffer}}... WDYT? I am preparing a patch for this so we can give
users more freedom
> Resource package builder threshold is too low
> ---------------------------------------------
>
> Key: SLING-5924
> URL: https://issues.apache.org/jira/browse/SLING-5924
> Project: Sling
> Issue Type: Improvement
> Components: Distribution
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: Content Distribution 0.2.0
>
> Attachments: SLING-5924.patch
>
>
> The _fileThreshold_ default in {{ResourceDistributionPackageBuilder}} is set
> to 128KB, that is generally a bit too low even for small resources (one
> resource with a few properties).
> I'd raise the default to something that's generally big enough to contain one
> resource, e.g. 1MB.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)