You should have a look at neo4j-admin memrec
like in this post to know how to allocate ram.
For the train, you should test your configuration on a sample to make sure it is what you want. Since this is a large dataset, I think it is normal for training to take time.
Check also default values of the configuration, maybe you can play with some to reduce the time it takes.