Use linux swap for pagefile

Hello.
Is any way to allow Neo4j to use Linux swap file for pagefile?
I made it with 'swapon', increased 'dbms.memory.pagecache.size', but got "ERROR Invalid memory configuration - exceeds physical memory. Check the configured values for dbms.memory.pagecache.size and dbms.memory.heap.max_size"

Hi Alexey,

This wouldn't be a good idea to use linux swap for the pagefile. Performance would probably be terrible if you could do it.

If you have X GB of RAM for the DB Page Cache and the DB won't fit into X, the most recently used parts of the database will stay in the DB Page Cache and the rest will stay on disk.

The heap should be set to fit the data that is in flight.