When writing data, dgraph takes up too much memory

Hey @zzl221000, Thanks for reporting. Can you please provide us the following to help us better understand what is going on.

  1. The alpha logs
  2. The zero logs
  3. Memory profile of alpha/zero. You can take a profile by curl http://localhost:8080/debug/pprof/heap --output heap.out