-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Background
After building lnd
0.7 (compiled with golang 1.12.6) and starting up (upgrading from 0.6.x, which was built with golang 1.12.4), I've noticed huge (~2x) memory usage increase - up to ~600MB compared to ~300MB that was enough before:
At the moment of writing, Munin fails to render new graphs as lnd
now uses ~1GB (50%) of ram on ARM SBC:
I believe latest memory increase to ~1GB (from ~600MB) appeared after payinvoice
.
Your environment
- version of
lnd
0.7.0-beta commit=v0.7.0-beta
- which operating system (
uname -a
on *Nix)Linux odroid-hc1 4.9.0-9-armmp-lpae #1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16) armv7l GNU/Linux
- version of
btcd
,bitcoind
, or other backend/Satoshi:0.18.0/
Steps to reproduce
Just launched newly built 0.7, not sure what else is needed.
Expected behaviour
~2-3x memory usage increase is not expected.
Actual behaviour
Uses 2-3x more memory than previous versions.
Metadata
Metadata
Assignees
Labels
No labels