We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5613f commit 7d747aeCopy full SHA for 7d747ae
doc/api/errors.md
@@ -1368,8 +1368,10 @@ Path is a directory.
1368
1369
### `ERR_FS_FILE_TOO_LARGE`
1370
1371
-An attempt has been made to read a file whose size is larger than the maximum
1372
-allowed size for a `Buffer`.
+An attempt was made to read a file larger than the supported 2 GiB limit for
+`fs.readFile()`. This is not a limitation of `Buffer`, but an internal I/O constraint.
1373
+For handling larger files, consider using `fs.createReadStream()` to read the
1374
+file in chunks.
1375
1376
<a id="ERR_FS_INVALID_SYMLINK_TYPE"></a>
1377
0 commit comments