[ 
https://issues.apache.org/jira/browse/TINKERPOP-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cole Greer closed TINKERPOP-3112.
---------------------------------
    Fix Version/s: 3.6.8
                   3.7.3
         Assignee: Cole Greer
       Resolution: Fixed

> Javascript: memory leak when server responds with error
> -------------------------------------------------------
>
>                 Key: TINKERPOP-3112
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3112
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: javascript
>    Affects Versions: 3.7.3
>            Reporter: Tom
>            Assignee: Cole Greer
>            Priority: Major
>             Fix For: 3.7.3, 3.6.8
>
>
> In the javascript sdk, when handling a socket message, we don't clear the 
> response handler in the case where we handle server errors.
> Link to source: 
> [https://github.com/apache/tinkerpop/blob/b7c9ddda16a3d059b2a677f578f131a7124187b6/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.ts#L358-L364]
> This causes a memory leak over time.
> I opened a PR to fix the issue: https://github.com/apache/tinkerpop/pull/2807



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to