Core Java - Interview Questions and Answers for 'Outofmemoryerror' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Outofmemoryerror' - 2 question(s) found - Order By Newest

 Q1. Explain java.lang.OutOfMemoryError ?Core Java
Anonymous
Ans. This Error is thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   exceptions   jvm   outofmemoryerror     Asked in 1 Companies


Related Questions

  What are different ways to create String Object? Explain.
 Difference between JVM, JRE and JDK ?
  What are various types of Class loaders used by JVM ?
  What are strong, soft, weak and phantom references in Java ?
  Can I import same package/class twice? Will the JVM load the package twice at runtime?
  Different types of memory used by JVM ?
  What is a class loader ? What are the different class loaders used by JVM ?
  Is JVM, a compiler or interpretor ?
  Why do member variables have default values whereas local variables don't have any default value ?


 Q2. What is OutOfMemoryError in Java?Core Java
admin
info@buggybread.com
Ans. OutOfMemoryError in Java is a subclass of VirtualMachineError and is thrown by JVM when it runs out of heap memory.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     outofmemoryerror   error   exceptions   jvm   java   heap memory   heap


Related Questions

  What is a String Pool ?
  Why do member variables have default values whereas local variables don't have any default value ?
  Which kind of memory is used for storing object member variables and function local variables ?
  Difference between Stack and Heap memory ?
 How many heaps will be there with 3 threads ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: