Offer an option to use less memory when developing

Hey @hkeide, this is an interesting feature request but I don’t think it’s easy to implement. We would have to keep track of all the objects created by dgraph and limit the memory they use. Adding a cache would add an added level of complexity in the system (current caches don’t cache everything).

However, if you’re running a single node dgraph alpha/zero cluster, you shouldn’t see very high memory usage. If that’s not the case, we can try to optimize dgraph for a low memory use cases.

1 Like