You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Tom (Jira)" <ji...@apache.org> on 2024/10/02 16:58:00 UTC

[jira] [Created] (TINKERPOP-3112) Javascript: memory leak when server responds with error

Tom created TINKERPOP-3112:
------------------------------

             Summary: 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
            Reporter: Tom


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.



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