Dgraph uses badger to store keys and values. Dgraph builds keys from predicates and types. In your case, you have many duplicate keys. The key dgraph.TypeAction is duplicated many times. Duplicate keys are okay. Let’s say you do some update on a predicate and it will generate duplicates.
These duplicate keys are stored in a single table in badger (to ensure reads are correct). When you have too many duplicate keys (850,000 is acceptable), the table size will increase and that’s what caused the crash.
The directory you shared, was it from a crash? That directory shouldn’t cause any crashes. Your biggest table is around 100 MB and that cannot cause a crash. A table around 4 GB will cause a crash because uint32 overflows at 4 GB.