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 Phillips (JIRA)" <ji...@apache.org> on 2013/08/27 02:17:51 UTC

[jira] [Updated] (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 Phillips updated JCLOUDS-248:
------------------------------------

    Attachment: JCLOUDS-248.patch
    
> 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
>         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