What is a JVM heap?

What is a JVM heap?

The JVM heap is where the objects of a Java program live. The JVM\'s heap stores all objects created by an executing Java program. Objects are created by Java\'s \"new\" operator, and memory for new objects is allocated on the heap at run time. The JVM heap size determines how often and how long the VM spends collecting garbage. A Java Virtual Machine on 32-bit operating systems typically has a maximum heap size of 64Mb. You can modify the JVM heap size .

Date:2015-01-09 00:00:00

Post Your Answers

User Email:

User Name:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher