• TODOs

    • Explain malloc vs jemalloc
    • Explain C++ polymorphic allocator
    • Explain --memory-limit and all the complexity around that
  • Disable SWAP

    • turn OFF SWAP completely
    • put vm.swappiness = 1
      • https://linuxhint.com/understanding_vm_swappiness/
  • Put vm.overcommit_memory = 1 because Memgraph is in-memory database engine

    • https://serverfault.com/questions/606185/how-does-vm-overcommit-memory-work
    • https://redis.io/docs/get-started/faq/