Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SYNAPSE-1106 #23

Merged
merged 1 commit into from
Feb 26, 2020
Merged

Fix SYNAPSE-1106 #23

merged 1 commit into from
Feb 26, 2020

Conversation

madhawa-gunasekara
Copy link
Member

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.

@isudana isudana merged commit be95942 into apache:master Feb 26, 2020
@madhawa-gunasekara madhawa-gunasekara deleted the SYNAPSE-1106 branch February 26, 2020 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants