Re: Help: Too many files open
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Mon, 19 Jun 2006 18:00:53 GMT
"Tyrone Showers" <owensvikki@xxxxxxxxxxxxx> wrote in message news:1zclg.82892$QU3.56529@xxxxxxxxxxxxxxxxxxxxxxxxx
I would just like to know if Java provides an API to determine your current
level of Open files e.g.,
Files.getCurrentOpenCount();
or
DatabaseConnection.getCurrentConnectionCount();
And if Java does provide such methods, is there a way to force the JVM to
close these lingering Opens.
For your second question, the answer is "probably no". How would the JVM differentiate between an open which is "lingering" and an open which is "critical to the correct functioning of this application"?
- Oliver
.
- Follow-Ups:
- Re: Help: Too many files open
- From: Tyrone Showers
- Re: Help: Too many files open
- 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
- Help: Too many files open
- Prev by Date: Re: Help: Too many files open
- Next by Date: Transparent Windows?
- Previous by thread: Re: Help: Too many files open
- Next by thread: Re: Help: Too many files open
- Index(es):
Relevant Pages
|
|