monerod is (seems) literally hogging up the memory.
Is this expected?
If it's not, what can I do to fix this behavior?
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.
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
top
. https://lilyfeng.wordpress.com/2013/07/17/the-difference-among-virt-res-and-shr-in-top-output/
– jtgrassie
Sep 23 '18 at 17:16
top
. And the ultimate point to answering this question is to point out high VIRT is not a problem. – jtgrassie Sep 24 '18 at 15:21