Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Large Uploads #74

Open
Open

Description

Added this to our app the other day and putObjectWithFile works great to send files to our S3 bucket, at least if the files are under 100MB. Ours is a video app and so quite often the upload will be larger.

What happens is when the files get too large (I was using 125MB zip) is that the app starts eating up 128MB chunks of memory until the OS shuts it down. This happens sometime after the call to putObjectWithFile but before the progress callback ever happens.

Activity

  1. mattt commented on Feb 14, 2015

    @mattt
    Contributor

    Use postObjectWithFile:... instead, which uses an HTTP body stream.

  2. fitch commented on Apr 7, 2015

    @fitch

    postObjectWithFile:.. seems to stall and fail with error code -1001 for me as well.

  3. adammordas commented on Apr 20, 2015

    @adammordas

    I'm having the same problem too.

  4. dzana commented on Jun 24, 2015

    @dzana

    I'm having the same problem.
    I am using only AFNetworking and I created POST exactly the same as in this link:
    http://stackoverflow.com/questions/20551548/timeout-posting-to-s3-from-ios-using-signed-urls
    Upload fails: Error Domain=NSURLErrorDomain Code=-1001

    We never noticed similar problem from windows and browser apps - only mac fails.

    Also found few similar problem on the web and stackoverflow- mulitpart fails with timeout when uploading large files.
    Unfortunately I cannot find solution how to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions