I just stumbled on a 'too many open files' error when saving a large amount of DoubleMatrix to disk. It is looking like the output and input streams are never closed.
public void save(String filename) throws IOException {
DataOutputStream dos = new DataOutputStream(new FileOutputStream(filename, false));
this.out(dos);
}
public void load(String filename) throws IOException {
DataInputStream dis = new DataInputStream(new FileInputStream(filename));
this.in(dis);
}
Hello!
I just stumbled on a 'too many open files' error when saving a large amount of DoubleMatrix to disk. It is looking like the output and input streams are never closed.
Best, Yves