Why is PermGen space growing?

后端 未结 7 1952
孤独总比滥情好
孤独总比滥情好 2021-01-31 11:05

I\'ve read a few articles, and I understood the following (please correct me and/or edit the question if I\'m wrong):

The java heap is segmented like this:

7条回答
  •  深忆病人
    2021-01-31 11:44

    The most common causes I've seen are:

    1. Java classes are loaded
    2. JAXBContext.newInstance
    3. String.intern()

提交回复
热议问题