Hi, when developing I run a heavy IDE, other databases, a front end compiler, a web browser with a million tabs etc, however I’m only developing using a very small graph, mostly to run unit tests. Compared to e.g. PostgreSQL, Dgraph uses a lot of memory in this scenario. I also don’t care about throughput in this scenario.
I would like to be able to specify a much smaller cache size so that Dgraph won’t use a full GB of memory on my development machine. Maybe this can be hidden behind a
--dev flag which also disables cluster features so people aren’t temped to use it in production?
2020/08/13 19:55:51 LRU memory (–lru_mb) must be at least 1024 MB. Currently set to: 500.000000