Running out of memory

java -Xms1G -Xmx7G -jar waves-all-0.14.7.jar waves.conf

Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006b0680000, 1158676480, 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 1158676480 bytes for committing reserved memory.

An error report file with more information is saved as:


Any thoughts? running on Debian8
shouldn’t I be able to adjust mem usage somewhere?


Looking like you just do not have enough memory (RAM) available!

8 GB should be enough right?

If you have only 8 GB ram on your server your setting crash your server because java has just not enough ram to use. Your os etc also uses ram!