Installed Neo4j CE 3.3.0 on windows RAM 8GB. I referred to https://medium.com/@david.allen_3172/using-nlp-in-neo4j-ac40bc92196f for installation of the open NLP and APOC packages.
Plugins were copied to the plugins
folder (graphaware-nlp-3.3.0.51.1, graphaware-server-enterprise-all-3.3.0.51 and nlp-opennlp-3.3.0.51.1).
The configuration setting were added to neo4j.conf
file as given in https://github.com/graphaware/neo4j-nlp
When I restart the Neo4j server, it takes a lot of time and then gives me the following error mesasge:
Caused by: java.lang.OutOfMemoryError: Java heap space Exception in
thread "GraphAware Starter" java.lang.RuntimeException: Error while
initializing model of class: class
opennlp.tools.namefind.TokenNameFinderModel
at
com.graphaware.nlp.processor.opennlp.OpenNLPPipeline.loadModel(OpenNLPPipeline.java:504)
at
com.graphaware.nlp.processor.opennlp.OpenNLPPipeline.lambda$loadNamedEntitiesFinders$2(OpenNLPPipeline.java:162)
at java.util.HashMap$EntrySpliterator.forEachRemaining(Unknown
Without the plugins of NLP, Neo4j starts fine. Any help appreciated here on the minimum requirements of RAM/hardware.
The language models require memory to be loaded. So I would suggest to use at least 4GB or more. Furthermore you should use Enterprise version not CE.