Uploaded image for project: 'Remote Alfresco API rivet'
  1. Remote Alfresco API rivet
  2. CMA-16

Improve the readContentIntoStream(..) method in ContentService

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CMA API
    • Labels:
      None

      Description

      Improve the readContentIntoStream(..) method in ContentService to prevent an OutOfMemoryError because the stream from Alfresco to CMA fills up faster than the stream from CMA to the client is flushing. Currently, a quick fix would be to increase the memory in the JVM running CMA, or to run CMA on a different box than Alfresco (to make it slower).

      With default settings for memory, and if running both JVMs on the same machine, the CMA JVM is out of memory when downloading a file of size around 32MB.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nattar Nazem Attar [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support