에러 코드 포털
Node.jsNode.js오류 코드

ERR_FS_FILE_TOO_LARGE

fs file too large

Node.js 런타임 또는 API 호출에서 보고한 오류. 공식 설명과 호출 인수, 스택 추적을 함께 확인하세요.

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. For handling larger files, consider using fs.createReadStream() to read the file in chunks.

해결·진단 링크

문서의 제품·버전·발생 환경이 현재 상황과 일치하는지 먼저 확인하세요.