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 999b5e5 commit 2d1dcb8Copy full SHA for 2d1dcb8
doc/api/errors.md
@@ -1362,8 +1362,10 @@ Path is a directory.
1362
1363
### `ERR_FS_FILE_TOO_LARGE`
1364
1365
-An attempt has been made to read a file whose size is larger than the maximum
1366
-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.
1367
+For handling larger files, consider using `fs.createReadStream()` to read the
1368
+file in chunks.
1369
1370
<a id="ERR_FS_WATCH_QUEUE_OVERFLOW"></a>
1371
0 commit comments