drive icon indicating copy to clipboard operation
drive copied to clipboard

"Out of Memory" when uploading files

Open Erudition opened this issue 8 months ago • 2 comments

Summary

Problem

When trying to upload a video to the videos folder, It fails like this: image

Impact

Cannot seem to upload files, or perhaps it's a file size limit? The UI does not really say what's going on. This was a 2GB video, but I also tried with some audio files that are a few MB.

Solution

A bug fix, or at least a more informative error message.

Detail

Describe the bug

01:00:54.220 out of memory 4 index.ts:256:10
    ibe index.ts:256
    im index.ts:237

To Reproduce Open Fission Drive (in Firefox 115?) Try to upload files.

Expected behavior File is uploaded and added to directory.

Screenshots image

Desktop (please complete the following information):

  • OS: Gnu Guix
  • Browser: Firefox
  • Version: 115

Erudition avatar Oct 27 '23 06:10 Erudition

Cannot seem to upload files, or perhaps it's a file size limit? The UI does not really say what's going on. This was a 2GB video, but I also tried with some audio files that are a few MB.

Hm. Weird. It seems to work for me in Firefox. A 2GB file will... have some issues. The way it's coded at the moment it would have to load the whole thing into memory to decrypt, but I've just tested it with a 40+MB video file and that seems to work, although it'd take some time to play.

matheus23 avatar Oct 27 '23 09:10 matheus23

Some tiny files triggered the same error, so I guess it's not about size. I notice that extra symbols in the filename can cause a crash too. More specific error messages would help here :)

Erudition avatar Nov 08 '23 02:11 Erudition