You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Julia Chang (JIRA)" <ji...@apache.org> on 2010/05/29 16:51:38 UTC
[jira] Created: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
OutOfMemoryError has occured if many processes are deployed.
------------------------------------------------------------
Key: ODE-836
URL: https://issues.apache.org/jira/browse/ODE-836
Project: ODE
Issue Type: Bug
Components: BPEL Runtime
Affects Versions: 1.3.3
Environment: ODE-1.3.3+Tomcat
Reporter: Julia Chang
Though dehydration is enabled,and there are no process-instances,
if many processes are deployed, OutOfMemoryError has occured.
You can see the mail:
http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
Posted by "Rick.Todo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick.Todo updated ODE-836:
--------------------------
Attachment: ThreadDump(314).txt
> OutOfMemoryError has occured if many processes are deployed.
> ------------------------------------------------------------
>
> Key: ODE-836
> URL: https://issues.apache.org/jira/browse/ODE-836
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: ODE-1.3.3+Tomcat
> Reporter: Julia Chang
> Attachments: ThreadDump(314).txt
>
>
> Though dehydration is enabled,and there are no process-instances,
> if many processes are deployed, OutOfMemoryError has occured.
> You can see the mail:
> http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
Posted by "Julia Chang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878608#action_12878608 ]
Julia Chang commented on ODE-836:
---------------------------------
default value of "process.hydration.lazy" is set as "true", but
default return value of org.apache.ode.bpel.engine.BpelServerImpl#isLazyHydratable is "false".
So, all processes are deployed as hydrated.
Inequality sign of this is NOT correct?
>return process.getEstimatedHydratedSize() < _hydrationLazyMinimumSize;
> OutOfMemoryError has occured if many processes are deployed.
> ------------------------------------------------------------
>
> Key: ODE-836
> URL: https://issues.apache.org/jira/browse/ODE-836
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: ODE-1.3.3+Tomcat
> Reporter: Julia Chang
> Attachments: ThreadDump(314).txt
>
>
> Though dehydration is enabled,and there are no process-instances,
> if many processes are deployed, OutOfMemoryError has occured.
> You can see the mail:
> http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
Posted by "Julia Chang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878616#action_12878616 ]
Julia Chang commented on ODE-836:
---------------------------------
1.org.apache.axis2.description.AxisService#releaseSchemaList() is called when a process is undeployed.
If many processes are deployed, much heap memory was needed.
Should not releaseSchemaList() be called after BindingContextImpl#createService()?
2.org.apache.axis2.wsdl.util.WSDLWrapperBasicImpl is used as a default implementation of WSDLWrapperImpl.
I think WSDLWrapperReloadImpl is better if there are many processes,
but I can't configure axis2.xml(reduceWSDLMemoryCache,reduceWSDLMemoryType).
Please teach me to configure axis2 to use WSDLWrapperReloadImpl.
3. org.apache.ode.store.DeploymentUnitDir#getDocRegistry() loads WSDL definitions,
and keeps them in heap memory with each process.
_docRegistry should be set "null" when the process is dehydrated.
> OutOfMemoryError has occured if many processes are deployed.
> ------------------------------------------------------------
>
> Key: ODE-836
> URL: https://issues.apache.org/jira/browse/ODE-836
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: ODE-1.3.3+Tomcat
> Reporter: Julia Chang
> Attachments: ThreadDump(314).txt
>
>
> Though dehydration is enabled,and there are no process-instances,
> if many processes are deployed, OutOfMemoryError has occured.
> You can see the mail:
> http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
Posted by "Veresh Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874102#action_12874102 ]
Veresh Jain commented on ODE-836:
---------------------------------
2 GB should be enough.
> OutOfMemoryError has occured if many processes are deployed.
> ------------------------------------------------------------
>
> Key: ODE-836
> URL: https://issues.apache.org/jira/browse/ODE-836
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: ODE-1.3.3+Tomcat
> Reporter: Julia Chang
> Attachments: ThreadDump(314).txt
>
>
> Though dehydration is enabled,and there are no process-instances,
> if many processes are deployed, OutOfMemoryError has occured.
> You can see the mail:
> http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874093#action_12874093 ]
Rafal Rusin commented on ODE-836:
---------------------------------
How many of those 1000 processes have active instances?
> OutOfMemoryError has occured if many processes are deployed.
> ------------------------------------------------------------
>
> Key: ODE-836
> URL: https://issues.apache.org/jira/browse/ODE-836
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: ODE-1.3.3+Tomcat
> Reporter: Julia Chang
> Attachments: ThreadDump(314).txt
>
>
> Though dehydration is enabled,and there are no process-instances,
> if many processes are deployed, OutOfMemoryError has occured.
> You can see the mail:
> http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
Posted by "Veresh Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873327#action_12873327 ]
Veresh Jain commented on ODE-836:
---------------------------------
Do you have thread dump ?
512m for deploying so many process is not recommended.
> OutOfMemoryError has occured if many processes are deployed.
> ------------------------------------------------------------
>
> Key: ODE-836
> URL: https://issues.apache.org/jira/browse/ODE-836
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: ODE-1.3.3+Tomcat
> Reporter: Julia Chang
>
> Though dehydration is enabled,and there are no process-instances,
> if many processes are deployed, OutOfMemoryError has occured.
> You can see the mail:
> http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-836) OutOfMemoryError has occured if many
processes are deployed.
Posted by "Rick.Todo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873551#action_12873551 ]
Rick.Todo commented on ODE-836:
-------------------------------
Thanks,Veresh.
Please see attached threaddump.
It shows threaddump when 314 processes were deployed to tomcat+ode-1.3.3(-Xmx512m) with enabled dehydration.
and there were no process-instance.
ode-axis2.process.dehydration=true
ode-axis2.process.dehydration.maximum.age=600000000
ode-axis2.process.dehydration.maximum.count=50
And then, OutOfMemoryError has occured with 324 processes.
We want to deploy whole 1000 processes.
How much heap-memory ode need to be deployed 1000 process?, 2GB or more?
> OutOfMemoryError has occured if many processes are deployed.
> ------------------------------------------------------------
>
> Key: ODE-836
> URL: https://issues.apache.org/jira/browse/ODE-836
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: ODE-1.3.3+Tomcat
> Reporter: Julia Chang
>
> Though dehydration is enabled,and there are no process-instances,
> if many processes are deployed, OutOfMemoryError has occured.
> You can see the mail:
> http://mail-archives.apache.org/mod_mbox/ode-user/201005.mbox/%3CAANLkTikaw5Rmx99ui3bKj6leheKO96yLwW6AtdIKjL2W@mail.gmail.com%3E
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.