Answer the question
In order to leave comments, you need to log in
Too many open files - what kind of beast is this?
Added this code:
try (
FileOutputStream fout = new FileOutputStream(filepath);
ObjectOutputStream oos = new ObjectOutputStream(fout)
) {
oos.writeObject(item);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question