# windows下fopen too many open files问题 **Published by:** [iceth](https://paragraph.com/@iceth/) **Published on:** 2022-02-08 **URL:** https://paragraph.com/@iceth/windows-fopen-too-many-open-files ## Content windows 下,使用fopen打开文件,有512的限制,会报too many open files的错误,可以使用_setmaxstdio(2048); 增加文件打开的限制。 ## Publication Information - [iceth](https://paragraph.com/@iceth/): Publication homepage - [All Posts](https://paragraph.com/@iceth/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@iceth): Subscribe to updates - [Twitter](https://twitter.com/niming1990): Follow on Twitter