shrsv · GitHub

Hello,

I was trying out TigerBeetle quick start guide on a server with 2 GB of RAM.

Instead of complaining that the available RAM is insufficient, the program tries to carry on and ultimately gets killed by OOM.

Took me a while to debug that it is indeed the OOM which is causing this.

The issue went away once I added 4 GBs of swap.

I believe the following will improve the first-time trial experience to your potential users:

  1. For quickly trying out the DB, loosen the RAM requirements
  2. If (1) is not possible, then handle the situation gracefully on startup, provide a helpful message to the user on what they can do (swap or increase ram)
  3. Highlight the minimum RAM requirement in the quick start guide

Read the original on github.com ↗