0 Replies Latest reply: Mar 31, 2009 4:28 AM by 843829 RSS

    Srange restricment -Xms4g param on fedora10/64-bits with RAM 8g

    843829
      I have tought with the same problem:
      I have run : java -d64 -Xms4g -Xmx8g ... -- and my program will fail with OutOfMemory than memory became more than 4G. But free memore is more than 3G.
      I use linux fedora 10 (64-bits system, RAM 8G), jdk_6u12_linux_x64.bin (download from sun.com).

      And i can't run program with java -d64 -Xms5g -Xmx8g. All values of -Xms more than 4G are incorrect. Values of -Xmx every ok, but don't work.
      But i can run : java -d64 -Xms8g -version -- It work until Xms less than 8G, and on -Xms9g it will fail.
      What is it may be?

      ulimit -a :
      core file size (blocks, -c) 0
      data seg size (kbytes, -d) unlimited
      scheduling priority (-e) 0
      file size (blocks, -f) unlimited
      pending signals (-i) 73216
      max locked memory (kbytes, -l) 32
      max memory size (kbytes, -m) unlimited
      open files (-n) 1024
      pipe size (512 bytes, -p) 8
      POSIX message queues (bytes, -q) 819200
      real-time priority (-r) 0
      stack size (kbytes, -s) 10240
      cpu time (seconds, -t) unlimited
      max user processes (-u) 1024
      virtual memory (kbytes, -v) unlimited
      file locks (-x) unlimited

      Thanks in advance.