in reply to Too many open files error on windows

Have you checked OS (you don't say which version) documentaiton for limits on such things? Has the user hit a resource limit? Perhaps there is something wrong with your code, or it's not doing what you think. Have you attempted to debug your code while recreating the problem? Tutorials -> Debugging and Optimization.

  • Comment on Re: Too many open files error on windows

Replies are listed 'Best First'.
Re^2: Too many open files error on windows
by Anonymous Monk on Jan 14, 2014 at 11:55 UTC
    Thanks marto for the reply.

    The application is used for batch processing, so the user had 2700 objects (files) to process, and it's the repeated processing of these objects that cause the failure. The user is using windows 7.

    I'm almost certain that our code is wrong, but am not sure where to start debugging. Creating a repeatable case is difficult as the objects that the user are using are sensitive. I've tested the app at the high level (process monitor and explorer) and I can't see a file handle leak so I was hoping to do something at the perl level?