Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Large ArrayBuffers (~20MB) passed through RPC crash Beaker #22

@kickscondor

Description

@kickscondor

Hi, I've been working on a mixtape-sharing site that runs on Beaker (duxtape.kickscondor.com) and generally it works quite well. So, thank you!

There are issues, however, with large files that are added to the mixtape. I have tried to get familiar with Beaker's code before reporting this - but there is a lot going on! My stack trace seems to show that the crash happens in pauls-electron-rpc - at valueToIPCValue. It's an out of memory error.

Uploading large files through the Beaker library doesn't exhibit this problem: that page uses the internal importFromFilesystem call.

Options:

  • Expose something similar to importFromFilesystem but which can work with the browser's File or Blob API. Could this be done securely?
  • Stream data through RPC - I started looking at adding this, but it will take me some time to understand the RPC layer.

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