Re: Help: Too many files open



Thanks for your answer.

"Gordon Beaton" <n.o.t@xxxxxxxxx> wrote in message
news:44964a05$1@xxxxxxxxxxxxxxxxxx
On Sun, 18 Jun 2006 09:29:32 -0400, Tyrone Showers wrote:
The application runs on Linux and Windows.

[...]

And if Java does provide such methods, is there a way to force the
JVM to close these lingering Opens.

If you are holding references to these objects, the JVM cannot know
they are no longer necessary.

If you are no longer holding references to them, they may eventually
be garbage collected and finalized. Realize though that lack of file
descriptors will not trigger the garbage collector.

On Linux you can use lsof or do "ls -l" in /proc/<pid>/fd to see what
open descriptors any process is holding. You can also use ulimit to
raise the descriptor limit, but that's not a solution to the real
problem.

/gordon

--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e


.