[
https://issues.apache.org/jira/browse/JCLOUDS-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058325#comment-14058325
]
ASF subversion and git services commented on JCLOUDS-417:
---------------------------------------------------------
Commit afc0ca557da9adb24da7f520c38457f18ad11c63 in jclouds's branch
refs/heads/master from Tom Manville
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=afc0ca5 ]
JCLOUDS-417: Remove ConsumeOnCloseInputStream
ConsumeOnCloseInputStream can potentially perform a copy in finalize()
if the stream was not closed properly.
> Payload.getInput.close reads all bytes from its InputStream
> -----------------------------------------------------------
>
> Key: JCLOUDS-417
> URL: https://issues.apache.org/jira/browse/JCLOUDS-417
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Environment: Ubuntu 12.04
> Reporter: Thomas Manville
> Assignee: Thomas Manville
> Priority: Minor
>
> Users do not expect this behavior when aborting getBlob operations. Further,
> by performing IO in finalize for un-closed
> JavaUrlHttpCommandExecutorServices, the finalize queue may grow faster than
> the finalize thread can process. In our system, this caused out-of-memory
> failures due to quick retry cycles.
--
This message was sent by Atlassian JIRA
(v6.2#6252)