Rapidly cancelling a Call can overwhelm transport
Offen
#1,674
6 Kommentare
0 Reaktionen
1 zugewiesene Person
Beansprucht von @carl-mastrangelo
Auf GitHub ansehen
performance
- Vorherrschende Sprache
- Java
- Sterne
- 12.1k
- Forks
- 4k
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 37
Beschreibung
Doing something like
```
ClientCall call = channel.newCall(foo, CallOptions.DEFAULT);
call.start(listen, new Metadata());
call.sendMessage(null);
call.halfClose();
call.request(1);
call.cancel();
```
rapidly in a loop causes memory to not get reclaimed. Somehow netty is holding on to commands sent to it from the ClientCallImpl.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.