Memory footprint ?

Amancio Hasty Jr hasty@netcom.com
Fri Jun 11 13:29:00 GMT 1999


USER     PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
hasty  64895  0.6  3.2  3892 3036  p2  T     1:24PM   0:00.20 ./Test

My simple test program just prints hello 1000 times.


{hasty} more Test.java
public class Test {
  public static void main (String args[]) {
        for (int i = 1; i < 1000; i++) {
        System.out.println("Hello " + i);
 }      
}
}

It looks like my test program is nearly 4MB ...

	Tnks
	Amancio


More information about the Java mailing list