<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Max Buffer Size for Images on nuxeo/api/v1/upload/ Endpoint in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/max-buffer-size-for-images-on-nuxeo-api-v1-upload-endpoint/m-p/314744#M1745</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;We are using the upload endpoint (nuxeo/api/v1/upload/) to migrate some images into Nuxeo.&lt;/P&gt;
&lt;P&gt;Is there a max buffer size for binaries that sit in the batch upload? Can this be configured?&lt;/P&gt;
&lt;P&gt;Thanks,
Lynn&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2015 13:13:47 GMT</pubDate>
    <dc:creator>Lynn_</dc:creator>
    <dc:date>2015-10-21T13:13:47Z</dc:date>
    <item>
      <title>Max Buffer Size for Images on nuxeo/api/v1/upload/ Endpoint</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/max-buffer-size-for-images-on-nuxeo-api-v1-upload-endpoint/m-p/314744#M1745</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;We are using the upload endpoint (nuxeo/api/v1/upload/) to migrate some images into Nuxeo.&lt;/P&gt;
&lt;P&gt;Is there a max buffer size for binaries that sit in the batch upload? Can this be configured?&lt;/P&gt;
&lt;P&gt;Thanks,
Lynn&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:13:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/max-buffer-size-for-images-on-nuxeo-api-v1-upload-endpoint/m-p/314744#M1745</guid>
      <dc:creator>Lynn_</dc:creator>
      <dc:date>2015-10-21T13:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Max Buffer Size for Images on nuxeo/api/v1/upload/ Endpoint</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/max-buffer-size-for-images-on-nuxeo-api-v1-upload-endpoint/m-p/314745#M1746</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;There  is no such thing.
The uploaded binaries are directly streamed to a temporary file via the &lt;CODE&gt;IOUtils#copy&lt;/CODE&gt; method from Apache commons-io, for which the Javadoc states:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This method buffers the input internally, so there is no need to use a &lt;CODE&gt;BufferedInputStream&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;But maybe you are thinking of a maximum storage size on the file system for the uploaded binaries?&lt;/P&gt;
&lt;P&gt;If this is the case you can contribute a specific configuration for the underlying "BatchManagerCache" TransientStore and adjust the &lt;CODE&gt;targetMaxSizeMB&lt;/CODE&gt; and &lt;CODE&gt;absoluteMaxSizeMB&lt;/CODE&gt; parameters.&lt;/P&gt;
&lt;P&gt;To do so you would have to put a new file like &lt;A href="https://github.com/nuxeo/nuxeo/blob/master/nuxeo-distribution/nuxeo-distribution-resources/src/main/resources/templates-tomcat/common/config/transient-store-config.xml.nxftl" target="test_blank"&gt;https://github.com/nuxeo/nuxeo/blob/master/nuxeo-distribution/nuxeo-distribution-resources/src/main/resources/templates-tomcat/common/config/transient-store-config.xml.nxftl&lt;/A&gt; changing the component name and declaring the "BatchManagerCache" store in a custom template.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:39:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/max-buffer-size-for-images-on-nuxeo-api-v1-upload-endpoint/m-p/314745#M1746</guid>
      <dc:creator>ataillefer_</dc:creator>
      <dc:date>2015-10-27T10:39:51Z</dc:date>
    </item>
  </channel>
</rss>

