Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when upload a large file to memo #4263

Open
rohoal1012 opened this issue Jan 2, 2025 · 3 comments
Open

Error when upload a large file to memo #4263

rohoal1012 opened this issue Jan 2, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@rohoal1012
Copy link

Describe the bug

I tried to upload a Windows ISO (4.5GB) and leave me a error without any mensage
Capturerere

Steps to reproduce

Go to write a memo and click to add file icon
Search for the iso file
ERROR

The version of Memos you're using

latest

Screenshots or additional context

No response

@rohoal1012 rohoal1012 added the bug Something isn't working label Jan 2, 2025
@RoccoSmit
Copy link
Contributor

What does your memo logs show when you try upload the large file?

@rohoal1012
Copy link
Author

that the problem, any log or message error is shown, only the thing that you saw on the screenshot, even in the logs of the docker container anything is reflected

@RoccoSmit
Copy link
Contributor

There is a piece of code that takes your file and tries to load it into browser memory await file.arrayBuffer();. With a 4.5gb file I believe this is maxing out what the Browser can handles and throws the error.

Also worth nothing that the memos server currently has a 2gb limit on the size of requests/responses it allows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants