Java / JDK, JRE, JVM, JIT
What is metaspace in JDK 1.8?
PermGen has been completely replaced by MetaSpace in Java8, a native memory to store class meta-data information and that grows automatically.
We don't encounter OutOfMemoryError in Java 1.8, PermSize and MaxPermSize arguments are ignored at the start-up of application. On the contrary these two jvm arguments are now replaced by MetaspaceSize and MaxMetaspaceSize. These two new flags gives us the flexibility to change the value for default size of metaspace and to change the maximum value that this metaspace can take.
More Related questions...