I am having an issue with backups in version 3.5.12. It seems that when I leave the data and log files in the default location on the Ubuntu 18.04 Debian package (/var/lib/neo4j/data); backups work fine. When I split these locations to dedicated drives (dbms.directories.data=/mydatamount/data, and dbms.directories.tx_log=/mylogmount/log) I seem to run into issues with backups not working and giving the following error:
Backup command used:
neo4j-admin backup --from=localhost --backup-dir=/backupdir --name=graph.db --pagecache=2G
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000003c0000000, 11453595648, 0) failed; error='Cannot allocate memory' (errno=12)
#There is insufficient memory for the Java Runtime Environment to continue.
#Native memory allocation (mmap) failed to map 11453595648 bytes for committing reserved memory.
The configurations of the current system's heap and pagecache leave around 10GB free, confirmed by htop, so not sure what the JVM is seeing as the problem here. Any help would be greatly appreciated!