Thanks Mark. I'm evaluating a situation where I may have 8GB RAM or 16GB RAM. But it's not guaranteed that RAM will always be larger than the data size. The server may have 2 dual/quad core CPUs.
If I understand correctly, the link is suggesting to allocate memory based on the size consumed by node store and relationship store on the disk. Is that far more important than allocating java heap to cache nodes/relationships?
I presume setting the memory mapped configuration will not affect GC. So, is it recommended to go with CMS collector with the available heap (after setting the memory mapping) ?
The reason to pick embedded server is that we can wrap a webapp around it, and have all the application logic including cyper queries live in this application. We can have as many clients talking to this app.
Thanks again.