Insufficient memory while submitting job

Unable to submit job. getting insufficient memory:

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