chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <>
Subject [jira] [Commented] (CMIS-965) Streaming of large WS attachments
Date Thu, 07 Jan 2016 14:30:39 GMT


Florian Müller commented on CMIS-965:

There is no guarantee that a WS response is not buffered in a temp file. That's a JAX-WS heritage
that we cannot change. Buffering in a temp file should only happen in rare circumstances,
You can also increase the memory threshold with a session parameter to buffer in memory and
avoid temp files, but that only works up to certain size. You can easily run out of memory
if your threshold is too high.

> Streaming of large WS attachments
> ---------------------------------
>                 Key: CMIS-965
>                 URL:
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.13.0
>            Reporter: Uwe Geisert
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.14.0
> OpenCMIS WS client code uses parseEagerly=true in chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/webservices/
> When large documents are downloaded, this results in an extra copy in the temp directory,
which can be quite a nuisance.
> Would you please either switch off eager attachment parsing, or make it configurable
in future versions?

This message was sent by Atlassian JIRA

View raw message