You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Isuru Udana (Jira)" <ji...@apache.org> on 2023/05/01 04:32:00 UTC
[jira] [Resolved] (SYNAPSE-1106) OOM with large responses where it involves content-aware mediation in response path
[ https://issues.apache.org/jira/browse/SYNAPSE-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isuru Udana resolved SYNAPSE-1106.
----------------------------------
Fix Version/s: 3.0.2
Resolution: Fixed
> OOM with large responses where it involves content-aware mediation in response path
> -----------------------------------------------------------------------------------
>
> Key: SYNAPSE-1106
> URL: https://issues.apache.org/jira/browse/SYNAPSE-1106
> Project: Synapse
> Issue Type: Bug
> Reporter: Madhawa Kasun Gunasekara
> Assignee: Isuru Udana
> Priority: Major
> Fix For: 3.0.2
>
> Attachments: Fix_SYNAPSE-1106.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> MessageContext class store messageContext object in a ThreadLocalVariable where it doesn't clear created ThreadLocal variables properly. Therefore synapse passthrough threads contain created the Theadlocal variable which refers to the created soap envelope during the mediation level. Because of the retained ThreadLocal variables, Passthrough threads consumes a huge amount of memory which leads to OOM.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org