monerod hogging up the memory

monerod is (seems) literally hogging up the memory.

Is this expected?

If it's not, what can I do to fix this behavior?


It is not hogging all your RAM. Please see duplicate question, answer and comments: How do I reduce the apparent memory usage of Monero?

And an explanation of Linux memory as reported by top: https://serverfault.com/a/48610

| improve this answer | |

The vast majority of the virtual memory usage is memory mapped I/O backed by the blockchain database on disk. A minority corresponds the process memory.

The monero database file is something like 70 GB, very roughly, and some extra space is reserved for expansion, so 103 GB seems totally plausible.

As a point of comparison, typical x86_64 has 256 TB of virtual address space, so 104 GB is 0.04% of it.

| improve this answer | |
  • OP is asking about RAM not disk space. See image posted. – jtgrassie Sep 23 '18 at 12:36
  • The question is about virtual memory... – user36303 Sep 23 '18 at 12:44
  • The screenshot is RAM (virtual, shared, resident). – jtgrassie Sep 23 '18 at 12:47
  • Yes. What's your point ? You're constantly trying to reinterpret things on a technicality. This is not helpful. – user36303 Sep 23 '18 at 13:36
  • The point is the user is confused by Linux memory and is assuming monerod is hogging memory "monerod is (seems) literally hogging up the memory" - which is not how this works. Your response in no way referenced this and just spoke to blockchain size. Where I see either an inaccurate or misleading answer, I feel duty bound to clarify. – jtgrassie Sep 23 '18 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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