Profile Image
lingg950620

Why is the meta space increasing rapidly over a period of time

?????????????????meta space?????????


Report URL - https://gceasy.io/my-gc-report.jsp?p=c2hhcmVkLzIwMjQvMDcvOC9nYy56aXAtLTEtMTUtMzY=&channel=WEB

    Please Sign In or to post your comment or answer

    Profile Image

    Unni Mana

     

    Hello lingg950620,

     

    The reason why this meta space allocatipon is increased because lot of classes are loaded when the application is running. Reflection, dynamic class loading etc will also cause to increase this space.

    Take a look at this thread below:

    https://stackoverflow.com/questions/45605072/how-to-determine-the-ideal-size-for-an-metaspace-for-java-8

     

     

    Profile Image

    Kousika M

    Hello Lingg950620,

    Greetings!

    The metaspace in a Java application can increase rapidly over time, primarily due to the application frameworks that rely on reflection and dynamic class loading. Apart from this, memory leaks, classloader leaks also could be the reason for increase in the metaspace. 
    The default JVM settings for metaspace need to be set optimal. 

    Improper configuration of the initial and maximum metaspace sizes can result in frequent increases in metaspace usage.

     

    Got something else on mind? Post Your Question