java.nio.file.FileSystemException: /media/Backup/Disk Images/Library/Containers/com.apple.photos.VideoConversionService/Data/Documents: Too many open files

Stack Overflow | Behrang | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Why does usage of java.nio.files.File::list is causing this breadth-first file traversal program to crash with the "Too many open files" error?

    Stack Overflow | 10 months ago | Behrang
    java.nio.file.FileSystemException: /media/Backup/Disk Images/Library/Containers/com.apple.photos.VideoConversionService/Data/Documents: Too many open files

    Root Cause Analysis

    1. java.nio.file.FileSystemException

      /media/Backup/Disk Images/Library/Containers/com.apple.photos.VideoConversionService/Data/Documents: Too many open files

      at sun.nio.fs.UnixException.translateToIOException()
    2. Java RT
      Files.list
      1. sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
      2. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      3. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      4. sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:427)
      5. java.nio.file.Files.newDirectoryStream(Files.java:457)
      6. java.nio.file.Files.list(Files.java:3451)
      6 frames