Running out of memory


#1

(start)
java -Xms1G -Xmx7G -jar waves-all-0.14.7.jar waves.conf

(error)
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:

/opt/waves/hs_err_pid11791.log

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

thanks


#2

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


#3

#4

8 GB should be enough right?


#5

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!