You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/14 14:46:35 UTC
[jira] [Commented] (ODE-1020) Deployment memory leak
[ https://issues.apache.org/jira/browse/ODE-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212253#comment-14212253 ]
Hudson commented on ODE-1020:
-----------------------------
UNSTABLE: Integrated in ODE-trunk-jdk6 #814 (See [https://builds.apache.org/job/ODE-trunk-jdk6/814/])
ODE-1020: Fixed deactivation of process services for retiring processes. (sathwik: rev d86b18081baf149b3bc6762964122c93642165cb)
* bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
* bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
> Deployment memory leak
> ----------------------
>
> Key: ODE-1020
> URL: https://issues.apache.org/jira/browse/ODE-1020
> Project: ODE
> Issue Type: Bug
> Components: Deployment
> Affects Versions: 1.3.6
> Reporter: Igor Vorobiov
> Assignee: Sathwik Bantwal Premakumar
> Fix For: 1.3.7, 1.4
>
> Attachments: DeploymentService-soapui-project.xml, ODE-1020-v2.patch, ODE-1020.patch, deploymentLeakTempFix.jpg, heap_dump.png, memLeak2.png, memLeak3.png
>
>
> 1) *Redeploy/Undeploy*: There is deployment memory leak when we redeploy/undeploy process(e.g. DynPartner from ode examples).
> To reproduce need to do redeployment of the process:
> 1. deploy DynPartner-1
> 2. deploy DynPartner-2
> 3. deploy DynPartner-3 ...
> 4. run GC in JProfiler.
> In JProfiler we can see that after each redeployment memory is allocated but after running GC it is not released.
> Even after undeploy memory is not released.
> 2) *Deploy*: When process is deployed memory is allocated with size which depends on wsdl size and count.
> From attached heap dump we can see that most of the memory is allocated for org.apache.ode.store.DeploymentUnitDir._docRegistry where wsdl is parsed.
> The problem became critical when we deployed 140 different processes where each process has 3-4 wsdl files. All these processes consumed about 1Gb memory.
> I've added temp fix in org.apache.ode.store.ProcessStoreImpl which decrease memory usage from 1Gb to 600mb for 140 processes. You can find this fix attached as a picture.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)