Skip to content

java.io.FileNotFoundException: <file_name> (Too many open files) Error #37

@tparket

Description

@tparket

First of all, thank you for your wonderful work. Minced has been very helpful in my recent work and it is much appreciated.

I'm running minced 0.4.2 with the following options on a cluster:
minced -gffFull <input_fasta> <output_txt> <output_gff>

For some reason, minced crashes with the following error messages (>200,000 times) for each of the output files (the text- and gff-output files which are marked by <>).

java.io.FileNotFoundException: <minced_gffoutput_filename> (Too many open files)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:292)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
at CRISPRFinder.findRepeats(CRISPRFinder.java:293)
at CRISPRFinder.goCRISPRFinder(CRISPRFinder.java:138)
at minced.main(minced.java:259)
--Error writing to file--

java.io.FileNotFoundException: <minced_textoutput_filename> (Too many open files)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:292)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
at CRISPRFinder.findRepeats(CRISPRFinder.java:279)
at CRISPRFinder.goCRISPRFinder(CRISPRFinder.java:138)
at minced.main(minced.java:259)
--Error writing to file--

I'm afraid that minced is creating too many files without closing them, which results in the exhaustion of the ulimit of allowed open files per user.

I would really appreciate your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions