# windows下fopen too many open files问题

By [iceth](https://paragraph.com/@iceth) · 2022-02-08

---

windows 下，使用fopen打开文件，有512的限制，会报too many open files的错误，可以使用\_setmaxstdio(2048); 增加文件打开的限制。

---

*Originally published on [iceth](https://paragraph.com/@iceth/windows-fopen-too-many-open-files)*
