Skip to content

personal PageRank Thrown 'OutOfMemoryError: unable to create native thread:' under normal use case #139

@littlemilkwu

Description

@littlemilkwu

continue with issue #132

In my real use case, I first create an In-memory projected graph which have 6017 nodes and 37819 relations.
Then, I run personal PageRank only 3 times that each time with 2276 nodes as [sourceNodes].

Still face the thread issue when threads come to 4095.

what can I do for this situation ?
I am suffer from this error for a long time....

below are my cypher queries

CALL gds.graph.create(
    'UP',
    ['User', 'Post'],
    {
        Action: { 
            orientation: 'UNDIRECTED',
            properties: 'weight'
        }
    }
)
MATCH (sources:User)
WITH sources
CALL gds.pageRank.stream('UP', {
    sourceNodes: [sources],
    relationshipWeightProperty: 'weight',
    concurrency: 1
})
YIELD nodeId, score
WITH sources, gds.util.asNode(nodeId) as nodes, score
WHERE (nodes.pid IS NOT NULL) AND (NOT (sources)-[]->(nodes))
RETURN sources.uid as source, nodes.pid as pid, score
ORDER BY score DESC

It still throw the same error.
(neo4j.log)
image

(query.log)
image

(debug.log)
image

Metadata

Metadata

Assignees

Labels

BUGSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions