question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rapidly cancelling a Call can overwhelm transport

See original GitHub issue

Doing something like

      ClientCall<Void, Void> 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.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
carl-mastrangelocommented, Apr 18, 2016

I will. I am going to try and make the DefaultHttp2FrameWriter buffer these tiny writes up before sending so that so many tiny buffers aren’t created.

0reactions
buchgrcommented, Apr 18, 2016

@carl-mastrangelo thanks! you want to take this? Else I ll work on it Wednesday.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Cancel an Event with the Least Drama (with Sample ...
Some may be able to cancel their transportation or lodging arrangements without penalty if you can let them know with enough time.
Read more >
Causes and Consequences Of Vessel Delays in Container ...
In this article, we will examine the most common causes of poor schedule reliability, and vessel and delivery delays.
Read more >
FTA Circular 4710.1 - Americans With Disabilities Act Guidance
It does not cancel any existing directive. 3. SCOPE. This circular applies to all assistance authorized by the Federal Transit Laws (49 U.S.C.....
Read more >
Transportation Patterns and Problems of People with Disabilities
INTRODUCTION. Transportation is an extremely important policy issue for those with disabilities. People with disabilities have consistently described how ...
Read more >
Interservice communication in microservices - Microsoft Learn
An instance might crash, or be overwhelmed with requests and unable to process any new requests. Any of these events can cause a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found