As a follow-up to my previous message, I was looking at another ArangoDB 
instance I'm running (this one in staging, the previous one I mentioned was 
in production) and I noticed that the memory consumption was slowly but 
steadily growing over the week-end even though nobody was using the DB!
I logged on the VM and did a /etc/init.d/arangodb3 status, which reported 
around 1GB of memory used. Then I rebooted the VM and noticed a 
significantly drop in memory usage, and after all collections were loaded 
again, it stabilized at around 700MB, so I gained 30% by restarting the 
instance (but again, steadily growing since then although no one uses the 
DB).

<https://lh3.googleusercontent.com/-7LBfny5TIo8/WQftZM3_b-I/AAAAAAAAAJw/yKZQhS_A2iYf5PjkLQUdGu_O7Y394es5gCLcB/s1600/Screen%2BShot%2B2017-05-02%2Bat%2B10.15.51%2BAM.png>


On Thursday, April 27, 2017 at 6:02:11 PM UTC+8, Thomas Weiss wrote:
>
> Hi everyone,
>
> I would like to get your comments concerning the very high memory usage 
> I'm seeing on my production server.
> Some numbers:
> - Running Ubuntu 16.04 and ArangoDB 3.1.15
> - 5 document collections, 12 edge collections
> - Around 200,000 documents
> - A dump takes approximately 50MB of disk space
> - A rather heavy usage of Foxx
>
> Now this take *1.5GB* of memory on that Linux server. I've always been a 
> bit surprised by the memory consumption but at the beginning I thought that 
> ArangoDB required a lot of RAM to run and that was a fixed overhead that 
> would not grow with the data, but I was wrong: it seems that the memory 
> consumption increases linearly with the amount of data. Also for reference, 
> I've a secondary DB (same VM config) that replicates the primary 
> asynchronously and this one consumes more than 1GB as well.
>
> So today I did the following experiment: I dumped the database and 
> restored it on my Mac. I made sure all collections are loaded and had a 
> look at the memory: only *200MB* and it even fell to 50MB for some 
> reason. This makes me think that there could be something wrong with the 
> way I run ArangoDB on Ubuntu or with the system config?
>
> Any comment would be welcome, if you'd like to get the dump to test it on 
> your side I would be happy to share it.
>
> Thanks in advance,
> Thomas
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to