You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2013/08/28 08:20:51 UTC
[jira] [Resolved] (JCLOUDS-248) Filesystem blobstore putBlob cannot
handle large blobs
[ https://issues.apache.org/jira/browse/JCLOUDS-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Gaul resolved JCLOUDS-248.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.6.3
> Filesystem blobstore putBlob cannot handle large blobs
> ------------------------------------------------------
>
> Key: JCLOUDS-248
> URL: https://issues.apache.org/jira/browse/JCLOUDS-248
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-blobstore
> Affects Versions: 1.7.0, 1.6.2
> Reporter: Andrew Gaul
> Assignee: Andrew Gaul
> Priority: Minor
> Fix For: 1.7.0, 1.6.3
>
> Attachments: JCLOUDS-248.patch
>
>
> Seen with a 1 GB putBlob:
> java.lang.OutOfMemoryError: Java heap space
> at java.util.Arrays.copyOf(Arrays.java:2271)
> at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
> at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
> at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
> at com.google.common.io.ByteStreams.copy(ByteStreams.java:211)
> at com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:252)
> at com.google.common.io.ByteSource.read(ByteSource.java:221)
> at com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:264)
> at org.jclouds.filesystem.strategy.internal.FilesystemStorageStrategyImpl.putBlob(FilesystemStorageStrategyImpl.java:202)
> at org.jclouds.blobstore.LocalAsyncBlobStore.putBlob(LocalAsyncBlobStore.java:390)
> at org.jclouds.blobstore.LocalAsyncBlobStore.putBlob(LocalAsyncBlobStore.java:534)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira