vmstat gives:
swap free
37489684 110178592
Still I have issues, while trying to run Java process with 10g heap:
> java -Xmx10g -Xms10g -d64 HelloWorldApp
Error occurred during initialization of VM
Could not reserve enough space for object heap
Why it happens and how to remediate the issue?
Update. Output of ulimit -a:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 25525
virtual memory (kbytes, -v) unlimited
ulimit -a
?java -version -d64
, please.