The one concern there is that you might have a single node, which fans-out to millions of other nodes. That can slow the queries down a bit.
The memory usage is due to some query returning lots of UIDs. See this: Optimize Dgraph Memory Usage - #2 by mrjn