Skip to content

Upload of large files 4GB+ fails on Safari. UpChunk or WebKit problem? #134

Closed
@theazgra

Description

@theazgra

Hi,

we have noticed a problem, while uploading large video files, of size 4GB+ on MacOS Safari. I am not sure, if anything can be done in UpChunk library, or if this is solely WebKit problem.

The UpChunk dispatches 'success' event right after the upload is started, that is because the very first call to ChunkedStreamIterable::read() fails, resulting in completed (done) upload.

The read call fails, because of an I/O error (NotReadableError)

image

Before attempting the upload, top reports only about 100MB of free RAM, if that can mean anything.

If I truncate the file to about 3GB, the upload work.

Do you have any experience with this?

Specification:

  • UpChunk v3.3.2
  • Safari 17.0 (19616.1.27.211.1)
  • Apple M1 with 8GB RAM
  • macOS 14.0 (23A344)

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