I’d recommend having a hard look at your transaction management. This section of the SDK readme covers it pretty well: GitHub - dgraph-io/dgraph-js: Official Dgraph JavaScript client
I’ve seen cases in clusters in which transactions that are not “cleaned up” correctly can cause bloat. I’m not saying that’s definitely the problem, but it’s the first place I’d start looking.