Why i am getting the error "Too many open files. Close files to prevent MATLAB instability."

102 views (last 30 days)
user06
user06 on 9 Mar 2018
Answered: Veera Kanmani on 29 Mar 2018
Hello all, i am working on MCYT dataset and they have .fpg files. i have converted those file into .jpg files. now i am passing those images in to CNN but i am getting the error "Too many open files. Close files to prevent MATLAB instability. Caused by: Message Catalog MATLAB:FileIO was not loaded from the file. Please check file location, format or contents"
  4 Comments

Sign in to comment.

Answers (1)

Veera Kanmani
Veera Kanmani on 29 Mar 2018
The reason for the error messages is because the number of files that are open exceeds the limit on the maximum number of files that can be kept open.
While MATLAB does not have a limit on the maximum number of files that can be open, this is a restriction set by the operating system. Consult your system administrator for information on how to change this limit.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!