Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-18-2020 08:24 AM
Using Neo4j Desktop (1.3.4) and Browser on Windows 10.
Every time I create a new DB, close the explorer and stop the DB from running (all in a proper way), next time I want to start the DB I get an error like the following:
Database failed to start: DB [database-deaf23e8-764c-4ddb-8a8d-a681c07aefd4] 'v4.1.0' exited with status 'KILLED'. Check the logs
I've tried everything I've found online: removing the APOC plugin, uninstalling, and reinstalling.
Nothing helps. I can't continue working on an existing DB because it never lets me get back to it.
Any idea how to solve this?
08-18-2020 08:32 AM
Hello @nadavbe
Which version of Neo4j Database are you using?
Is it a local or server version?
Did you check the logs?
Regards,
Cobra
08-18-2020 08:35 AM
Hi @Cobra
I'm using version 4.1.0.
It's a local DB.
The log has a message like this (I hopes it's related):
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc8d2b4323, pid=11300, tid=17688
JRE version: OpenJDK Runtime Environment (Zulu11.35+13-CA) (11.0.5+10) (build 11.0.5+10-LTS)
Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-LTS, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
Problematic frame:
V [jvm.dll+0x6a4323]No core dump will be written. Minidumps are not enabled by default on client versions of Windows
08-18-2020 08:38 AM
How many RAM are you giving to the database?
Is Java up-to-date?
08-18-2020 08:58 AM
Just downloaded the latest version of Java just to make sure.
Not sure how much RAM, I suppose it's one of these values?
dbms.memory.heap.initial_size=512m
dbms.memory.heap.max_size=1G
08-18-2020 09:18 AM
That's weird
Could you completely uninstall Neo4j Desktop and clean the PC (ccleaner) and try to install again?
Regards,
Cobra
08-19-2020 12:00 AM
I was thinking maybe it has to do with me creating a large set of relationships (~2M) using an APOC command (iterate) ?
I usually create the data with this and then I can't come back
08-19-2020 12:33 AM
Can we see the request?
How many batchsize are you using?
08-19-2020 09:18 PM
I'm facing the exact same issue with Neo4j 4.1.1.
I run Neo4j on Windows 10.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff9ad3e4323, pid=984, tid=17276
#
# JRE version: OpenJDK Runtime Environment (Zulu11.35+13-CA) (11.0.5+10) (build 11.0.5+10-LTS)
# Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-LTS, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# V [jvm.dll+0x6a4323]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
08-20-2020 05:00 AM
@Cobra this is the script I'm using with APOC in order to create a large set of relationships:
CALL apoc.periodic.iterate(
"MATCH (p1:Phase) return p1",
"match (p2:Phase {msid: p1.msid, phase_index: p1.phase_index + 1})
merge (p1)-[:JOURNEY_PHASE]->(p2)",
{batchSize:1000})
Interestingly, after more than 2 days of not being able to start this DB, it did start now (but I don't have high hopes it will continue this way).
@hoangphucITJP are you using APOC functions? Do you have this plugin installed at all? I'm interested to know if we're doing anything similar.
08-21-2020 02:11 AM
No I don't have APOC installed
08-20-2020 05:03 AM
You shoud do:
CALL apoc.periodic.iterate("
MATCH (p1:Phase)
MATCH (p2:Phase {msid: p1.msid, phase_index: p1.phase_index + 1})
RETURN p1, p2
", "
MERGE (p1)-[:JOURNEY_PHASE]->(p2)
", {batchSize:1000})
You can also reduce the batchsize if you don't have a good machine
08-20-2020 06:59 AM
Well, I've just started a new DB. All I did is reading from a CSV. And can't access this one too.
No idea how to continue with this
08-20-2020 12:09 PM
I don't understand, it's not the same problem?
08-24-2020 01:13 AM
It is. I just thought that complex actions are the cause of this. But it appears that also without APOC installed it's occuring.
09-24-2020 03:43 AM
The problem does not happend when I use neo4j server though. So it's solved for me since I don't really need the desktop version.
All the sessions of the conference are now available online