Alfresco Activiti内存泄漏

发布于 2025-02-08 14:28:44 字数 1183 浏览 4 评论 0原文

事先感谢您的帮助。

我在Alfresco Process服务中遇到了这个问题,其中内存达到JVM限制,CPU通常低于10%。通常,当我们提出请求到端点(/activiti-app/api/enterprise/task/query)时,通常会更快地发生。只是想知道以前有人看过这个问题吗?

配置: -xms8g -xmx16g

堆库:

1 instance org.hibernate.engine.internal.StatefulPersistenceContext  Retained Size 10.660 MB (97%) 
    1 instance of org.hibernate.engine.internal.EntityEntryContext 10.656 MB (100%) 
        67231 instances of org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl 10.655 MB (99.9%) 
             67231 instances of org.hibernate.engine.spi.EntityEntry 10.653 MB (99.9%)
                67230 instances of java.lang.Object[] 10.648 MB (99.9%)
                    67230 instances of byte[] 10.609 MB (99.5%)

端点:/activiti-app/api/enterprise/tasks/query 请求主体: { “ appDefinitionId”:null, “ sort”:“创建desc”, “大小”:50, “开始”:0, “文本”: ””, “状态”:“已完成” }

参考: Hibernate-Commons-Annotations-4.0.2.final Hibernate-Core-4.2.16.-Final Hibernate-entityManager-4.2.16.-Final Hibernate-JPA-2.0-API-1.0.1.1.final Hibernate-JPA-2.0-API-1.0.1.1.final Hibernate-Validator-5.3.6.-Final

Thanks in advance for the help.

I'm having this issue with Alfresco Process Service where the memory is reaching the JVM limit, CPU is usually below 10%. Usually happening quicker when we make requests to the endpoint (/activiti-app/api/enterprise/tasks/query). Just wondering has anyone seen this issue before?

Config:
-Xms8g -Xmx16g

Heap dump:

1 instance org.hibernate.engine.internal.StatefulPersistenceContext  Retained Size 10.660 MB (97%) 
    1 instance of org.hibernate.engine.internal.EntityEntryContext 10.656 MB (100%) 
        67231 instances of org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl 10.655 MB (99.9%) 
             67231 instances of org.hibernate.engine.spi.EntityEntry 10.653 MB (99.9%)
                67230 instances of java.lang.Object[] 10.648 MB (99.9%)
                    67230 instances of byte[] 10.609 MB (99.5%)

Endpoint: /activiti-app/api/enterprise/tasks/query
Request Body:
{
"appDefinitionId": null,
"sort": "created-desc",
"size": 50,
"start": 0,
"text": "",
"state": "completed"
}

References:
hibernate-commons-annotations-4.0.2.Final
hibernate-core-4.2.16.Final
hibernate-entitymanager-4.2.16.Final
hibernate-jpa-2.0-api-1.0.1.Final
hibernate-jpa-2.0-api-1.0.1.Final
hibernate-validator-5.3.6.Final

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文