Take care of fopen
2007-11-30 00:01
260 查看
For every C/C++ programmers, fopen may be one of the most familiar functions. Taking myself as instance, I used to use it quite freely, as it's free lunch. But there's no free food ever -- the FILE* number you open at the same time in one single process cannot surpass 512 as default. It's no larger than 2048 even with _setmaxstdio()'s help.
See? This constraint is so covert & hard to find in a large project -- it's been cost 2 days or more on two people, including me.
We'll definitely meet many submerged rocks while devoting yourself to large projects. Many of these hide in the corner you thought it's always been safe and which is not, and some just come from the place outside your code of the projects.
So, take care~
See? This constraint is so covert & hard to find in a large project -- it's been cost 2 days or more on two people, including me.
We'll definitely meet many submerged rocks while devoting yourself to large projects. Many of these hide in the corner you thought it's always been safe and which is not, and some just come from the place outside your code of the projects.
So, take care~
相关文章推荐
- [2010/09/30]爱护牙齿Take Care of Your Teeth
- How to take care of a Portuguese Water Dog
- TAKE CARE OF PERMISSIONS!
- Hardware Monitoring & Trouble Shooting: take care of system cache
- Take care of the Details
- some issues that you should be take care of when use the plupload module
- Take care of Segments before entering C programmed binaries
- [2010/09/29]爱护牙齿Take Care of Your Teeth
- Take care on the encoding of web server
- well,take care of yourself!
- 【tcpdump】 especially take care of -s
- iPhone/iPad 2012/05/14 take care of Audio Unit
- take care of my eyes --感人小故事
- Take good care of your eyes
- Spring MVC How take the parameter value of a GET HTTP Request in my controller method?
- MongoDB发生Can't take a write lock while out of disk space错误解决方法
- Take advantage of “Integrated Calling” to know whom suspect talked to
- take-advantage-of-redis-adding-it-to-your-stack.html
- Take Advantage of 3D Touch 利用3D的优势
- Does Unity Care is a texture of power of two