Here if you are interested in the stack.
Importing Title File #1...
ERROR (-v for expanded information):
Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: Java heap space
-host Domain name or IP of host to connect to (default: localhost)
-port Port of host to connect to (default: 1337)
-name RMI name, i.e. rmi://<host>:<port>/<name> (default: shell)
-pid Process ID to connect to
-c Command line to execute. After executing it the shell exits
-file File containing commands to execute, or '-' to read from stdin.
Afte
r executing it the shell exits
-readonly Connect in readonly mode (only for connecting with -path)
-path Points to a neo4j db path so that a local server can be started
ther
e
-config Points to a config file when starting a local server
Example arguments for remote:
-port 1337
-host 192.168.1.234 -port 1337 -name shell
-host localhost -readonly
...or no arguments for default values
Example arguments for local:
-path /path/to/db
-path /path/to/db -config /path/to/neo4j.config
-path /path/to/db -readonly
Importing Title File #2...
ERROR (-v for expanded information):
Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: Java heap space
-host Domain name or IP of host to connect to (default: localhost)
-port Port of host to connect to (default: 1337)
-name RMI name, i.e. rmi://<host>:<port>/<name> (default: shell)
-pid Process ID to connect to
-c Command line to execute. After executing it the shell exits
-file File containing commands to execute, or '-' to read from stdin.
Afte
r executing it the shell exits
-readonly Connect in readonly mode (only for connecting with -path)
-path Points to a neo4j db path so that a local server can be started
ther
e
-config Points to a config file when starting a local server
Example arguments for remote:
-port 1337
-host 192.168.1.234 -port 1337 -name shell
-host localhost -readonly
...or no arguments for default values
Example arguments for local:
-path /path/to/db
-path /path/to/db -config /path/to/neo4j.config
-path /path/to/db -readonly
Importing Title File #3...
+-------------------+
| No data returned. |
+-------------------+
Nodes created: 374554
Relationships created: 374554
Properties set: 374554
Labels added: 374554
330441 ms
Press any key to continue . . .
Am Donnerstag, 18. September 2014 09:10:39 UTC+2 schrieb Curtis Mosters:
>
> Some addition to that case.
>
> I was not able to run the script again. The first I got the same error
> with the Heap Stack.
>
> But after that somehow I got a Connection Refused Error. All the time. I
> tried to restart the server and reset the database. Nothing happened. That
> waited some time and tried some other import scripts. Somehow now it worked
> again.
>
> So now I started the import again. I will look on how long it needs to
> reach the Heap Space error.
>
> But really need more instructions!
>
> Am Donnerstag, 18. September 2014 08:51:00 UTC+2 schrieb Curtis Mosters:
>>
>> Well somehow the behaviour of the Shell is odd.
>>
>> I imported 76 Mio lines without any problems. But now I have started a
>> new import over night and now I watched the process and it said Java Heap
>> Space Error.
>>
>> But that cannot be. I have set the Neo4jShell.bat like this:
>>
>> %JAVACMD% -Xmx3G *-Dstorage.diskCache.bufferSize=20000* %JAVA_OPTS% %
>> EXTRA_JVM_ARGUMENTS% -classpath %CLASSPATH_PREFIX%;%CLASSPATH% -Dapp.name
>> ="neo4j-shell" -Dapp.repo="%REPO%" -Dbasedir="%BASEDIR%" org.neo4j.shell.
>> StartClient %CMD_LINE_ARGS%
>>
>> That is a great ratio of heap. But yeah why did I get this error? I have
>> 30 GB RAM. This happens so random that a productive import is nearly
>> impossible.
>>
>> So my question is, what have I done wrong? Where do I need to set the
>> Java Settings correctly? Were my edited settings active?
>>
>> Here the first file or let's say script i'm loading in and where this
>> error happens:
>>
>> USING PERIODIC COMMIT 2000
>> LOAD CSV WITH HEADERS FROM "file:///C:/data/tls202_part01.txt" AS
>> csvLine WITH csvLine LIMIT 1000
>> MATCH (appln:Appln)
>> WHERE appln.ID = toInt(csvLine.appln_id)
>> CREATE (title:Title { title:csvLine.appln_title })
>> CREATE (appln)-[:HAS_TITLE]->(title);
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.