chemistry-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/CMIS-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087487#comment-15087487
] 

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,
though.
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: https://issues.apache.org/jira/browse/CMIS-965
>             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/SunRIPortProvider.java.
> 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
(v6.3.4#6332)

Mime
View raw message