apoc icon indicating copy to clipboard operation
apoc copied to clipboard

Possible bug in Neo4J 4.0 version, during GRAPHML import

Open neo-technology-build-agent opened this issue 2 years ago • 7 comments

Issue by karrtikiyer Wednesday Mar 18, 2020 at 10:06 GMT Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1451


Expected Behavior (Mandatory)

Able to successfully import the graphML file to a graph DB in Neo4j

Actual Behavior (Mandatory)

Errors out giving below exception, works in 3.x series. Failed to invoke procedure `apoc.import.graphml`: Caused by: org.neo4j.kernel.impl.util.collection.MemoryAllocationLimitException: Can't allocate 524288 bytes due to exceeding memory limit; used=2147028992, max=2147483648

How to Reproduce the Problem

CALL apoc.import.graphml("my_graph.graphml", {})`

Steps (Mandatory)

  1. Install Neo4J Desktop
  2. Modify config settings to allow apoc import
  3. create a new graph DB
  4. RUN below code to import the graphml
  5. CALL apoc.import.graphml("my_graph.graphml", {})

Specifications (Mandatory)

Currently used versions

Versions

  • OS:MacOS
  • Neo4j:4.0.1
  • Neo4j-Apoc:4.0.0.4