-
Notifications
You must be signed in to change notification settings - Fork 47
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
ipfs-car CLI hangs with large directory #114
Comments
Hello @bryanblaz What do you mean by sits there? The usage of CLI should be:
|
@bryanblaz can you try with a single file to understand if it is an issue with large data? How big is your images folder and how many files you have there? |
@vasco-santos I've tried a singles file, something happens. The images folder is 6GB and there are 4000 images in it, but I thought the size didn't matter. |
Same issue here, but it's a little different from yours. |
It doesn't "matter" in Node.js because we write temporary files in disk. However, we have some known issues with large directories with lot's of files. We are tracking this in nftstorage/nft.storage#928 and aim to solve soon. You are trying to upload in the browser, right? It's browser dependant but I believe Chrome has 1-2GB memory limit and I believe this is the root of the the error message you're receiving. This is because we can currently only stream data with Node.js, not browser We're building a desktop uploader and also making changes under the hood to allow full streaming of the content. |
The example in the screenshot above 'hangs' because the command includes a single unescaped quote, so the command is not executed. The |
Why when I type in this function it doesn't do anything but sits there
The text was updated successfully, but these errors were encountered: