Re: Help: Too many files open
- From: "Tyrone Showers" <owensvikki@xxxxxxxxxxxxx>
- Date: Tue, 20 Jun 2006 00:58:46 -0400
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
.
- References:
- Help: Too many files open
- From: Tyrone Showers
- Re: Help: Too many files open
- From: IchBin
- Re: Help: Too many files open
- From: Tyrone Showers
- Re: Help: Too many files open
- From: Gordon Beaton
- Help: Too many files open
- Prev by Date: Re: Help: Too many files open
- Next by Date: Re: Transparent Windows?
- Previous by thread: Re: Help: Too many files open
- Next by thread: Re: Help: Too many files open
- Index(es):