Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

OOMKilled due to GSRequest.sendRequest

Aperta
#34 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
api, backend

Direzione di ricerca

Start at GSRequest and trace the HttpURLConnection request path described in the issue, then review how TransportContext.finishHandshake() is reached for each Gigya request. Replace the per-request connection behavior with Apache HTTPClient connection pooling, and verify that repeated requests no longer create a new connection each time while preserving the SDK request behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
21
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SAP/gigya-java-sdk

Tutte le issue di SAP/gigya-java-sdk

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.