Question: Java JVM



Share on Google+Share on Google+

Java JVM
1 Answer(s)      6 years and 7 months ago
Posted in : Java Interview Questions
What is PermGen space?
View Answers

October 28, 2010 at 2:36 PM


Here is the answer.

The memory in the Virtual Machine is divided into a number of regions. One of these regions is PermGen. It's an area of memory that is used to (among other things) load class files. The size of this memory region is fixed, i.e. it does not change when the VM is running. You can specify the size of this region with a commandline switch: -XX:MaxPermSize . The default is 64 Mb on the Sun VMs.

If there's a problem with garbage collecting classes and if you keep loading new classes, the VM will run out of space in that memory region, even if there's plenty of memory available on the heap. Setting the -Xmx parameter will not help: this parameter only specifies the size of the total heap and does not affect the size of the PermGen region.



Related Tutorials/Questions & Answers:
Java JVM
Java JVM  How many JVM could be run on an operating system
Java JVM
Java JVM  What is JVM Heap Size? How does it affect the performance of the Application
Java JVM
Java JVM  What is PermGen space
java jvm
java jvm  In java in what memory area instance,static and local variables will be stored
Java and jvm related question
Java and jvm related question  What is difference between java data types and jvm data types
jvm - Java Beginners
jvm  where does the (java virtual machine)jvm located in the system exact location please help me
jvm - Java Interview Questions
jvm  Can you provide some JVM Questions for Java Interview preparation
JVM  JVM is platform independent or not..   Hi, JVM or Java Virtual Machine is platform dependent. So, you can't install windows JVM on Linux. Similarly Linux JVM can't be installed on windows. Thanks
JVM - Java Beginners
JVM  can u tell in which language JVM(both compiler n interprter) has been written....  i thing in C language . you can varify with the source code of java
JVM - Java Beginners
JVM  Hi, Is JVM a compiler or an interpreter? Thanks   Hi Friend, JVM is an interpreter. Thanks
Java JVM
Java JVM       The JVM is a crucial component of the Java Platform introduced by Sun Micro Systems... compiled languages.  To know more about JAVA JVM, just click http
JVM - Java Beginners
JVM  Can you help me how to get JVM back, My Java Virtual Machine... This is jagadhish. JVM can't mis anywhere.the suitable combinations i will tell with that u can... professional (This is very nice to JAVA).Then your softwares will be like
about JVM - Java Beginners
about JVM  Hello Rose team I want to ask that why JVM... different JVM for different platform.Also if JVM is not loaded in the platform then we can't run a program.Therefore we can say that JVM is platform dependent
JVM   Write a short note on JVM.   Please visit the following links:
JVM  what is bytecode ? describe the JVM indetail
jvm - Java Interview Questions
jvm  what is java virtual machine?   Hi Friend, Please visit the following link: Hope that it will be helpful for you. Thanks
JVM  whats the diference of using JVM on windows or on linux
Java Virtual Machine(JVM)
Java Virtual Machine(JVM)     ... Machine JVM is the main component of Java architecture and it is the part... system but Java compiler produce code for a virtual machine . JVM provides security
JVM is build in which language - Java Interview Questions
JVM is build in which language  Hi, Can anybody tell me 1.JVM is build using which language.   C language
jvm work
jvm work  wht is the work of jvm? deaply.   Hi Friend, Java Virtual Machine or JVM for short is a software execution engine to run the java programs. Java Virtual Machine is also known as "Java Interpreter" which
bytecode and JVM.
bytecode and JVM.  Explain the terms bytecode and JVM.   Please visit the following links: Bytecode JVM
increase the JVM's maximum heap size. - Java Server Faces Questions
increase the JVM's maximum heap size.  Hi Friends ... How to increase the JVM's maximum heap size. Just now i am getting error like : Internal compiler error :java.lang.OutOfMemoryError give me any sugg.. Thanks
Are JVM's platform independent?
Are JVM's platform independent?  Hi, Are JVM's platform independent?   Hi, Java Virtual MachineJVM)'s is not platform independent. JVM is the main component of Java architecture and it is the part of the JRE (Java
Open Source JVM
Open Source JVM Java Virtual Machine or JVM for short is a software... kissme is Java Virtual Machine (JVM) freely available under the GPL... is performance. The Java Virtual Machine (JVM), a software layer to execute Java
Strange JVM behaviour
Strange JVM behaviour  hi I'm running a java application... fine for about an hour and then starts to idle. So, I did this - I run the JVM for one hour and then shut it down, restart the JVM after 30 mins, but still
What is the difference between a JDK and a JVM?
and it includes execution environment. Where as JVM is stands for Java Virtual machine...What is the difference between a JDK and a JVM?  Hi, What is the difference between a JDK and a JVM? Thanks,   Hi, JDK is stand
memory areas in jvm
memory areas in jvm  what are different memory areas in jvm?plz elaborate their significance
jvm in eclipse 3.2 - IDE Questions
jvm in eclipse 3.2  How can we check JVM version in Eclipse3.2
What is difference between JDK,JRE and JVM?
development. I have found the topics like JDK, JRE and JVM while searching the Java... these topics so that I can learn Java. Thanks   JVM - Java Virtual Machine JVM stands for Java Virtual Machine and this is responsible for running
How to set memory used by JVM in Ant
of JVM (java virtual machine), when ANT (another neat tool) is used outside of java virtual machine. In this example, <property name="sourcedir"... How to set memory used by JVM in Ant   
how char values are converted to their 16-bit representation in jvm?
how char values are converted to their 16-bit representation in jvm?  can anyone explain the conversion of character 'c' to its 16-bit representation in jvm


Advertisement null