Memory estimation

Table 1. Changes in the YIELD fields
Graph Algorithms v3.5 Graph Data Science v1.0

requiredMemory

requiredMemory

bytesMin

bytesMin

bytesMax

bytesMax

mapView

mapView

-

treeView

-

nodeCount

-

relationshipCount

The most significant change in memory estimation is that in GDS to estimate an operation you suffix it with .estimate while in GA the operation had to be passed as parameter to algo.memrec.

Table 2. Estimating the memory requirements of loading a named graph:
Graph Algorithms v3.5 Graph Data Science v1.0

Native Projections:

CALL algo.memrec(
  'MyLabel',
  'MY_RELATIONSHIP_TYPE',
  'graph.load'
)
CALL gds.graph.create.estimate(
  'MyLabel',
  'MY_RELATIONSHIP_TYPE'
)

Cypher Projections:

CALL algo.memrec(
  'MATCH (n:MyLabel) RETURN id(n) AS id',
  'MATCH (s)-[r:MY_RELATIONSHIP_TYPE]->(t)
   RETURN id(s) AS source, id(t) AS target',
  'graph.load',
  {
    graph: 'cypher'
  }
)
CALL gds.graph.create.cypher.estimate(
  'MATCH (n:MyLabel) RETURN id(n) AS id',
  'MATCH (s)-[r:MY_RELATIONSHIP_TYPE]->(t)
   RETURN id(s) AS source, id(t) AS target'
)