DEV Community 👩‍💻👨‍💻

Maxim Zhukov
Maxim Zhukov

Posted on

The drawback of NodeJS fs.readFile

Have you used fs.readFile(...) for reading large files with NodeJS?

Well, then you must be aware of ERR_STRING_TOO_LONG and Cannot create a string longer than 0x1ffffffe8 characters potential issues.

So if you are looking for an answer about how to deal with it, then this is exactly what is my today's video about!

Top comments (0)

🌚 Life is too short to browse without dark mode