Skip to content

File Size Limit for .graphml import? #447

Closed
@MikeB2019x

Description

@MikeB2019x

Expected Behavior

I have been using the following command to import .graphml files in to neo4j

CALL apoc.import.graphml("xxx.graphml", {readLabels: true, storeNodeIds:true})

This has worked in the past with .graphml files up to 1 GB in size.

Actual Behavior

I've recently had to work with larger .graphml files. An import of a file that was 3GB in size proceeded without error except that while all the nodes were imported only half the edges were. No error or warning was thrown.

Note that the .graphml is an xml document that begins with meta info, followed by node info, followed by edge info. Since the import stops midway through the edge info I'm wondering if there is a setting/limit on number of lines or size of the .graphml file?

How to Reproduce the Problem

  1. Create a large graph in networkx. (4.6M nodes w/20 attributes (float) each, 4.8M edges)
  2. Export as a .graphml file
  3. Import .graphml file in to Neo4j using command above.

Versions

  • OS: Mac Pro M1 w/ Ventrua 13.3.1 (a)
  • Neo4j: 4.4.o (community)
  • Neo4j-Apoc: 4.4.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions