Re: Help: Too many files open



Thanks for your answer.


"Oliver Wong" <owong@xxxxxxxxxxxxxx> wrote in message
news:pDBlg.70834$JX1.13708@xxxxxxxxxxx

"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



.



Relevant Pages

  • Re: Why FC4 using the Jpackage 1.4.2 Java?
    ... No open source JVM currently exists. ... You can register with Sun and go to Sun's Java sight and freely ... run the Java code optimally on the specific platform. ...
    (Fedora)
  • Re: Help me!! Why java is so popular
    ... My point is that those who use Windows already accept bloatware and the ... I think those are the kinds of things which has made Java popular. ... And don't forget about the very fact that with JVM, ... GUI elements are called components and containers, ...
    (comp.lang.java.programmer)
  • Re: Help me!! Why java is so popular
    ... You are basically arguing that "Java is slow because it is slow". ... > Also, a JVM can pay attention to usage, provide caching, adapt at run ... I have no use for unicode in my ...
    (comp.lang.java.programmer)
  • Re: Dusting off an old JVM discussion
    ... I was wondering how difficult it would be to write a JVM in Forth, ... Upon looking at those "opcode" instructions, ... and I think today's PDA's might have more memory ... I imagine those applications written in Java, ...
    (comp.lang.forth)
  • Re: For performance, write it in C - Part 2, comparing C, Ruby and Java
    ... Or is it the fact that after working in Java since '92 you have ... find out about the JVM startup penalty and that any decent benchmark ... would not account for that (only in case you are compairing JVM ...
    (comp.lang.ruby)