I tried to run the yugabyte 2.0.8.0 quick start demo according to these instructions:
https://docs.yugabyte.com/latest/quick-start/install/
https://docs.yugabyte.com/latest/quick-start/create-local-cluster/
with 3 local nodes
./bin/yb-ctl --rf 3 create
And then explore ysql:
https://docs.yugabyte.com/latest/quick-start/explore-ysql/
but the db creation fails:
yugabyte=# CREATE DATABASE yb_demo;
CREATE DATABASE yb_demo;
ERROR: Timed out: Write(tablet: 00000000000000000000000000000000, num_ops: 1, num_attempts: 9, txn: 00000000-0000-0000-0000-000000000000) passed its deadline 3393.992s (passed: 65.317s): Remote error (yb/rpc/outbound_call.cc:440): Service unavailable (yb/tserver/tablet_service.cc:291): Soft memory limit exceeded (at 93.81% of capacity), score: 0.00
yugabyte=# CREATE DATABASE yb_demo;
CREATE DATABASE yb_demo;
ERROR: Already present: Keyspace 'yb_demo' already exists
yugabyte=# DROP DATABASE yb_demo;
DROP DATABASE yb_demo;
ERROR: database "yb_demo" does not exist
yugabyte=# \c yb_demo;
FATAL: database "yb_demo" does not exist
Previous connection kept
So the db creation failed. I cannot recreate it but it seems that I also cannot remove it nor connect to it. The error message hints that there was not enough memory.
free output is:
total used free shared buff/cache available
Mem: 4045992 1400276 1419504 64104 1226212 2319448
Swap: 4194300 0 4194300
Questions:
How much memory is required for running YugaByte? In this case the runtime environment is 4GB Ubuntu 16.4 VirtualBox VM with desktop. Your HW requirements say min 2GB https://docs.yugabyte.com/latest/deploy/checklist/.
How can I recover this error? Either drop the failed db or finalize the db creation?
Thank you for your support.