MongoDB on a Raspberry Pi 4

Hello everyone… has anyone had success running MongoDB on a Raspberry PI 4 with moderate data volumes? My instance keeps getting killed by the kernel’s OOM handler":

May 20 07:00:11 kernel: [2380339.617830] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=mongod,pid=301659,uid=114
May 20 07:00:11 kernel: [2380339.617943] Out of memory: Killed process 301659 (mongod) total-vm:1837512kB, anon-rss:341936kB, file-rss:0kB, shmem-rss:0kB, UID:114 pgtables:1076kB oom_score_adj:0

If I manually restart the server, it runs for a while then dies again. Here’s my build information;

db version v4.4.6
Build Info: {
    "version": "4.4.6",
    "gitVersion": "72e66213c2c3eab37d9358d5e78ad7f5c1d0d0d7",
    "openSSLVersion": "OpenSSL 1.1.1f  31 Mar 2020",
    "modules": [],
    "allocator": "tcmalloc",
    "environment": {
        "distmod": "ubuntu2004",
        "distarch": "aarch64",
        "target_arch": "aarch64"

You are running out of memory.

You might try to adjust wiredTiger configuration. See