Posts Tagged ‘java vitual machine’

Playing with JVM / Java Heap Size.

Playing with JVM / Java Heap Size.
Java programs executes in JVM uses Heap of memory to manage the data. If your Java program requires a large amount of memory, it is possible that the virtual machine will begin to throw OutOfMemoryError instances when attempting to instantiate an object. The default heap size if 1 MB and can increase as much as 16 ...

Tutorial: Java Class file format, revealed…

Tutorial: Java Class file format, revealed...
In previous tutorial Java Virtual Machine, An inside story..., we saw some basic of internals of JVM and how it is divided into different components that helps in execution of Java byte code. Java Byte code as we saw is packed in a file called class file (with .class extension). In this tutorial let us see the internals of a class file. How the ...

Java Virtual Machine, An inside story!!

Java Virtual Machine, An inside story!!
Java Virtual Machine, or JVM as its name suggest is a "virtual" computer that resides in the "real" computer as a software process. JVM gives Java the flexibility of platform independence. Let us see first how exactly Java program is created, compiled and executed.Java code is written in .java file. This code contains one or more Java language attributes like Classes, Methods, Variable, Objects etc. ...