Can't run queries - graph data science course

Update: I was able to get Aura working, but still cannot run any queries within the actual course.

I have gotten the free pro trial of Aura, but when I try to run

MATCH (source:Actor)-[r:ACTED_IN]->(target:Movie) // (1)

WITH gds.graph.project( // (2)

'actors-graph',

source,

target

) AS g

RETURN g.graphName AS graph,

g.nodeCount AS nodes,

g.relationshipCount AS rels // (3)

I get

53U00: Function exception - custom function execution error cause

Execution of the function gds.graph.project() failed due to java.lang.IllegalArgumentException: Either `sessionId` or `memory` parameter must be specified.

When I try to run it within the course, I get

Error

Failed to invoke function `gds.graph.project`: Caused by: java.lang.OutOfMemoryError: Java heap space

Any suggestions?

What course are you trying to run? Aura Pro free trial currently uses Aura Graph Analytics (the serverless offering) and not GDS

Adding to Johns explanation.
The courses should work with a memory: '2GB' configuration. (see our quickstart docs)
if you run into OOM issue, i can recommend to use a higher value such as '4GB' .
See Aura Graph Analytics - Neo4j Aura for options on sizing.

but please let us know which course and your projection query.

Hey @copperpatina, Henry from GraphAcademy here. I wrote the course, so hopefully we can figure out these issues for you.

Aura issues

In the course, Lesson 3, there is an environment setup section. It recommends that you choose the GDS Plugin radio button instead of the Serverless option.

Serverless will set you up with Aura Graph Analytics rather than the GDS plugin. They have similar functionality, but the syntax requirements are not identical.

To run the queries from the course, you need to choose Plugin.

Fix:

  1. Go to the Instances tab:

  1. Go to Configure on the Instance card:

  1. Ensure you have Plugin selected and then save that configuration:

  1. Go back to the Instances page and connect to the instance:

  1. Run Call gds.version()in the Browser

If that returns a version, the queries should work.

GraphAcademy issues

I see that you are receiving an OOM error on GraphAcademy. We’re looking into this right now.

May I ask: had you run any projections prior to this, or was this your first time creating a projection?

We’re updating some background processes now to ensure all previous projections are cleared from memory. However, if this was the first projection you ran, it may be a different issue.

Hope this helps and let us know how it goes.