synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SYNAPSE-1106) OOM with large responses where it involves content-aware mediation in response path
Date Wed, 26 Feb 2020 15:46:00 GMT

    [ https://issues.apache.org/jira/browse/SYNAPSE-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045637#comment-17045637
] 

Hudson commented on SYNAPSE-1106:
---------------------------------

FAILURE: Integrated in Jenkins build Synapse - Trunk #5421 (See [https://builds.apache.org/job/Synapse%20-%20Trunk/5421/])
Fix SYNAPSE-1106 (madhawa: [https://github.com/apache/synapse/commit/1d367bd9eea3abdecc3895a18683b25ef072d2e9])
* (edit) modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/ClientWorker.java
* (edit) modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/ServerWorker.java


> 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
>         Attachments: Fix_SYNAPSE-1106.patch
>
>          Time Spent: 0.5h
>  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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message