I've a crash in my machine at 89 loops (not due to JDK, but to S.O. WinNT - the
machine has freeze when I've opened a StarCalc sheet, and I've to powerdown.).
My conclusion is that JDK is satisfactory to my needs, since he have no changes (Last
report show RAM=3600K, Virtual=5072, free=2097
For all: I'm doing a comparision based on report from Michael E. Moores using the same
program (see bellow) and anotating reports about memory usage (and, of course,
stability). Michael reported a crash after 45000 loops in Linux JDK1.2.2 ("linux 2.2,
blackdown 1.2 (glibc 1.2.1)").
My comparis
I'm sorry: cpu usage is not 100% because Java:
53% java, 47% Apache Server...
Actual report:
86000 loops, 7128K ram + 5072K virt, rt.free()=2097144
Edson Richter
--
From: Michael E. Moores
Sent: quarta-feira, 5 de janeiro de 2000 17:40
To: Edson Carlos Ericksson Richt
C in Linux are not ok.
Edson Richter
--
From: Michael E. Moores
Sent: quarta-feira, 5 de janeiro de 2000 17:40
To: Edson Carlos Ericksson Richter
Cc: [EMAIL PROTECTED]
Subject:RE: heap space and performance
so you can also see the heap get used up
with the win32 JDK?
i
Heap consumption and performance are real problems in Java.
But some great pratices in coding solve (or amenizes) the problem:
1) Don't repeat declaration of common used variables:
2) Create a thread in your main class taking a "forced garbage collection".
See the following program, that I've r
An applet can do connection only to host from are served the page where applet is
inside.
And, you must provide that classes for connection. See docs for tag about
putting classes accessible for browsers.
IMPORTANT: If you are developing for Java 2 plataform, you must use Java Plug-in -
not
Hi!
All that you need to do your work is like this:
import java.util.Date;
public class Clock2 extends Thread {
public static void main( String [] args ) {
new Clock2( );
}
public Clock2( ) {
this.start( );
}
public void
You can use this:
// some piece of code
InputStreamReader in = new InputStreamReader( System.in );
BufferedReader br = new BufferedReader(in);
String lineFromUser = br.readLine( ); // This line will block to the user take
an "ENTER" (CR, LF or CR+LF).
System.out
Does not put .class at the end of your line of command for execution.
So, to run your program, do simple:
java Clock2
this will work fine.
--
From: Zhang Yuyong
Sent: terça-feira, 28 de dezembro de 1999 23:14
To: [EMAIL PROTECTED]
Subject:jdk118 under Redhat6.0
<>
hi e
No, you can't detect when the program is running in background (thinking in a generic
environment).
But you can use a Log application to redirect yor System.out to a network connection.
And, you can use the syslogd client existing in Giant Java Tree...
I've seen some sample in JavaTutorial, but
The correct is not
try {
//some piece of code
} catch( Exception e ) {
e.printStackTrace( System.out );
}
???
--
From: ALPESH KOTHARI
Sent: quarta-feira, 29 de dezembro de 1999 07:44
To: Peter Mount
Cc: [EMAIL PROTECTED]
Subject:Re: Jar file with JDB
Try putting the postgresql.jar file in the /jre/lib/ext/ directory...
Is possible to put the postgresql.jar file into another jar file (my app.jar) and use
them in my app?
Edson Richter
--
From: Dustin Lang
Sent: terça-feira, 28 de dezembro de 1999 05:10
To: [EMAIL PROTECTED]
C
12 matches
Mail list logo