Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

JVM memory model

Shulou Source: shulou.com Published: 2022-06-03 04:24:00 11月25日 Update

Point 6 in the figure above reported an error Java.lang.OutOfMemoryError:java heap space

The lasting generation is also called the permanent generation, also known as the method area. Store structural information for each java class: such as runtime constant pools, field and method data, bytecode contents of constructors and common methods, and special methods used for class, instance, and interface initialization.

When there are many classes to be loaded, reflected classes and called methods in the system, Permanet Generation may be full. In order to avoid the Full GC phenomenon caused by Perm Gen occupation, the method that can be adopted is to increase the Perm Gen space.

Tags: Method data ordinary special above information content function field byte instance interface phenomenon space system structure recoverable permanent reflection storage Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Microsoft Linux Docker Huawei