cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Memory issue while loading relationships - Can't allocate 512 bytes due to exceeding memory limit

Running Neo4J Desktop on Windows 10 (v4.0.3). I was in the middle of loading ~10 million relationships and ran into this error:

Can't allocate 512 bytes due to exceeding memory limit; used=2147483648, max=2147483648

I gave enough memory in settings but can't really figure out how to resolve this.

Config settings for reference:

dbms.memory.heap.initial_size=8G
dbms.memory.heap.max_size=8G
dbms.memory.pagecache.size=3G

Thanks,

1 ACCEPTED SOLUTION

Resolved this after I used USING PERIODIC COMMIT

View solution in original post

1 REPLY 1

Resolved this after I used USING PERIODIC COMMIT