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

Can't add big files files any more #126

Open
bam80 opened this issue Feb 26, 2021 · 4 comments
Open

Can't add big files files any more #126

bam80 opened this issue Feb 26, 2021 · 4 comments
Labels
effort/hours Estimated to take one or several hours exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature status/ready Ready to be worked

Comments

@bam80
Copy link

bam80 commented Feb 26, 2021

I was experimenting with the share and after I have uploaded several GB of data, I seem can't add big (~0.5GB) files any more - they are not uploaded properly, see cross on the screenshot.
I don't see something suspicious in Network debug.
Is it some restriction I faced?
image

@bam80 bam80 added the need/triage Needs initial labeling and prioritization label Feb 26, 2021
@lidel
Copy link
Member

lidel commented Jul 9, 2021

Perhaps you hit imitation of your web browser: https://web.dev/storage-for-the-web/#how-much
Does this continue to happen when you switch to a different browser, or are you able to share new things just fine there?

@lidel lidel added need/author-input Needs input from the original author need/triage Needs initial labeling and prioritization and removed need/triage Needs initial labeling and prioritization labels Jul 9, 2021
@bam80
Copy link
Author

bam80 commented Jul 9, 2021

Do you mean that files I uploaded are still present somewhere inside my browser?
I didn't experimenting since then.

@lidel lidel changed the title Can't add files any more Can't add big files files any more Sep 24, 2021
@lidel
Copy link
Member

lidel commented Sep 24, 2021

Unlikely. Browsers do not have deterministic size limits for local storage, they usually use heuristic that trigger garbage collection depending on various factors – see https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Browser_storage_limits_and_eviction_criteria

I assume you simply triggered it by loading a file that is too big for in-browser node running on share.ipfs.io.
If you want to share big files reliably, you should run your own node: https://docs.ipfs.io/install/

@lidel lidel added good first issue Good issue for new contributors exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature and removed need/triage Needs initial labeling and prioritization need/author-input Needs input from the original author labels Sep 24, 2021
@lidel
Copy link
Member

lidel commented Sep 24, 2021

I think we should add a warning when a bigger file is shared (eg. >50mb) informing user that they should run their own node instead https://docs.ipfs.io/install/ipfs-desktop/

I'm happy to review a PR if someone has time to add it.

@SgtPooki SgtPooki added effort/hours Estimated to take one or several hours status/ready Ready to be worked labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/hours Estimated to take one or several hours exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature status/ready Ready to be worked
Projects
None yet
Development

No branches or pull requests

3 participants