7

We all know that LMDB uses a memory-mapped database, so the actual usage of memory by the monero network service process (aka monerod, monero daemon) is very minimal (once network synchronization has completed).

More information on caching and memory mapping can be found here.

Despite these facts, it is sometimes advantageous to reduce the apparent usage of memory by the monerod process. How can one reduce the apparent memory usage?

5
  • So apparently the answer that someone figured out was wrong.... so this will just sit unanswered for now.
    – Ginger Ale
    Commented Apr 23, 2017 at 3:31
  • Yep, got here from Google after seeing this in top: 48.419GB VIRT, 2.579GB RES monerod
    – Nick
    Commented Sep 20, 2017 at 18:14
  • Why is it advantageous to reduce the apparent (as you put it) memory usage?
    – jtgrassie
    Commented May 24, 2018 at 10:26
  • I know one thing I've run into is that virtual machine providers may not like seeing 100% memory usage. But others have provided other reasons at some point or another.
    – Ginger Ale
    Commented May 24, 2018 at 11:57
  • But that's not how you calculate memory usage on Linux. See: tothenew.com/blog/understanding-memory-utilization-in-linux Also, VPS providers preset amount of memory a VM has access to. If you want to use 100% of it that's fine - that's what you are paying for.
    – jtgrassie
    Commented May 24, 2018 at 13:57

1 Answer 1

1

As per comments, Monero memory usage is not an issue here, it's about understanding Linux memory. The usage is not "high" and there is no reason to change anything for those that simply do not understand Linux memory.

6
  • 1
    This does not answer the question.
    – user36303
    Commented Aug 19, 2018 at 12:17
  • "Monero memory usage is not an issue here" is absolutely an answer. The user is asking how to reduce "apparent memory usage", which is missing the point of how Linux reports memory usage.
    – jtgrassie
    Commented Aug 19, 2018 at 12:38
  • It is an answer to another question that the one that was asked :)
    – user36303
    Commented Aug 19, 2018 at 12:52
  • It is an answer to the question as titled and question at end of post.
    – jtgrassie
    Commented Aug 19, 2018 at 12:58
  • Before the question title was edited that is.
    – jtgrassie
    Commented Sep 23, 2018 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.