Skip to content

Conversation

@pablomendezroyo
Copy link
Contributor

When reading files at once and store it in memory using node there is a limitation of 2gb. See https://nodejs.org/api/errors.html#err_fs_file_too_large

To avoid this error read file chunk by chunk

@pablomendezroyo pablomendezroyo requested a review from a team as a code owner October 16, 2024 10:06
@github-actions
Copy link

Dappnode bot has built and pinned the built packages to an IPFS node, for commit: 692e048

This is a development version and should only be installed for testing purposes.

  1. Package dappnodesdk.public.dappnode.eth

Install link

Hash: /ipfs/QmV3Dp3kH4Lw6SmWEtZkWQ8t5qHABxKSr1VzakE7JgeFRX

(by dappnodebot/build-action)

@pablomendezroyo pablomendezroyo merged commit 8073906 into master Oct 16, 2024
@pablomendezroyo pablomendezroyo deleted the pablo/read-file-chunks branch October 16, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant