Thursday, December 31, 2009

SOA 11g Human Task Interaction

If you are using the supplied API to interact with the Human Task engine in the Oracle SOA Suite 11g and encounter an extremely high memory usage, make sure that the interaction pattern is correct:

1. ITaskQueryService.Authenticate
2. ITaskQueryService.queryTask or other type of task related service using the IWorkflowcontext created in step 1
3. ITaskQueryService.destroyWorkflowContext(IWorkflowContext)

If you don't release the IWorkflowContext (Step 3), it will be pinned in memory and consume a lot of memory.

No comments: