InterviewSolution
| 1. |
What Will Happen If The Jvm Heap Is Very Small? |
|
Answer» Applications needs minimum amount of memory to reach the stable state,which occurs when the HEAP is no longer growing consistently. If the JVM is CONFIGURED with a maximum heap, which is too small, it will never permit the JVM to reach the stable state, which will make allocation failures and the JVM will initiate to THROW OutOfMemoryError. Applications needs minimum amount of memory to reach the stable state,which occurs when the heap is no longer growing consistently. If the JVM is configured with a maximum heap, which is too small, it will never permit the JVM to reach the stable state, which will make allocation failures and the JVM will initiate to throw OutOfMemoryError. |
|