Joseph Shraibman wrote:
When I get this Exception, this is an operating system limit, not a jvm limit, right?

java.io.FileNotFoundException: /local/java/classes/com/xtenit/util/Misc$1.class (Too many open files)

Yes. You can read more about it here

http://forum.java.sun.com/thread.jspa?threadID=586733&messageID=3025550

and here:

http://forum.java.sun.com/thread.jspa?threadID=354496&messageID=2596942
(Win XP specific?)

Here:
http://www.caucho.com/quercus/faq/question.xtp?question_id=307

this is suggested:

<quote>
In this case, it's most likely that the application isn't properly closing file descriptors it's opened. Using files should always be in try ... fnally blocks:


InputStream is = new FileInputStream("foo.xml");
try {
  // do some parsing or whatever
} finally {
  is.close();
}
</quote>

Rikard


---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to