简体   繁体   English

Spring Boot内存使用情况(JpaMetamodelMappingContext)

[英]Spring Boot memory usage (JpaMetamodelMappingContext)

We have Spring Boot Data-Rest project with more than 1000 JPA entities in it. 我们有一个Spring Boot Data-Rest项目,其中有1000多个JPA实体。 Application starts with initial 4GB memory usage. 应用程序从初始4GB内存使用开始。 When I analyze the memory usage via JProfiler, I can see BasicPersistentEntity classes and their propertyCache cover most of the consumption. 当我通过JProfiler分析内存使用情况时,我可以看到BasicPersistentEntity类及其属性Cache覆盖了大部分消耗。

Is this the default behaviour, or are we missing something? 这是默认行为吗,还是我们遗漏了一些东西?

JProfiler的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM