Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JVM memory allocation

  Asked By: Lucina    Date: Mar 02    Category: Java    Views: 807
  

I am hoping somebody can explain something to me. I am in the
process of testing a simple Java application (Hello World) on a mainframe.
What I have noticed is that when this application is running, it has 139
Megs allocated to it. Is this the 'normal' behavior of Java? Here is a
copy of the source:

public class Hello {
public Hello() {
}
public static void main(String args[]){
try{
System.out.println("Hello");
System.in.read(); //added so we can see how much mem is used
}
catch(Exception e){

}
}
}

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on JVM memory allocation Or get search suggestion and latest updates.




Tagged: