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.

leader memory leak when a node is down in linux - raspberry or debian

See original GitHub issue

Reproduced it also with the latest in main 14.3.

It also reproduces in linux - debian wsl.

To reproduce:

  • modify the DataModifier of the RaftNode example so that it saves every 0.1 seconds (10 times x second)
  • for x64 run (also reproduces in arm devices): dotnet publish Examples\RaftNode -p:PublishProfile=FolderProfile -c Release -r linux-x64 --self-contained -f net6.0
  • run the 3 nodes as usual
  • a few mins later kill one of the non leader nodes
  • monitor the memory and confirm a few minutes later the leader has gained significant more memory
  • if you leave it running its memory usage keeps growing / I have had a working set of well over 1GB

Issue Analytics

  • State:closed
  • Created 2 months ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
saknocommented, Aug 2, 2023

Fixed in 4.13.1

1reaction
saknocommented, Aug 1, 2023

Alright, I’m preparing a new release with memory leak fix. Feel free to open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Memory leak..? - Raspberry Pi Forums
I've discovered it when it works for nonstop 14 days! It crashed the RPI memory. Now my sistem restart processes when get 80%...
Read more >
Memory leak on Raspberry Pi4 with Raspbian · Issue #2107
Summary of Problem What are you trying to do? I try to use Serialport to connect a port on a Raspberry Pi4 with...
Read more >
linux - Something eats all memory (I suspect memory leak ...
If you have a program that allocates shared memory, but does not release it before exiting, you will have a relatively invisible memory...
Read more >
Solving the Cardano node huge memory usage - done
The best solution would be for the node to performMajorGC regularly on its own when there is time instead of waiting for the...
Read more >
Linux kernel memory leaks Ubuntu 20.04 (5.4 and 5.8 ...
r/linuxadmin - Memory usage comparison across 6 servers, ... level debug stuff way over my head), run out of memory(maybe it doesn't affect ......
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