Skip to content

OOMKilled due to GSRequest.sendRequest #34

Description

@YannickRobin

We have investigated regular OOMKilled for a SAP Commerce Cloud customer.

After investigation, it appears that the OOMkilled was due to very high memory thread stack memory allocation/deallocation that creates over the time RSS memory fragmentation. The thread name is "HandshakeCompletedNotify-Thread" and related to a known issue with TransportContext.finishHandshake(), see https://bugs.openjdk.org/browse/JDK-8246039.

HttpURLConnection is called by Gigya Java SDK for each request to Gigya service and this code calls TransportContext.finishHandshake() at the end of the connection.

GSRequest should not create a new connection for each request to Gigya service but uses Apache HTTPClient instead of HttpURLConnection with a connection pool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions