wrong available free memory

Help
2013-06-12
2013-08-21
  • ilhami visne
    ilhami visne
    2013-06-12

    Hi All,

    My machine, Win7 x64, has 20GB ram. According to the task manager 17GB is still not used.

    I have set the max heap size to 70% of the available memory. I've got out of memory issue and after running the exe with -l4j-debug the problem becomes clear to me. Please see the log part below:

    Heap -Xms: 512 MB / 10%, Free: 4095 MB, Heap size: 512 MB
    Heap -Xmx: 1024 MB / 70%, Free: 4095 MB, Heap size: 2867 MB

    The L4j calculates the available memory somehow wrong. Any explanation or solution for this issue?

    Best wishes,
    ilhami

     
  • Grzegorz Kowal
    Grzegorz Kowal
    2013-08-21

    Hi,

    It was a bug, please check the newest version (3.1.0-beta2).

    Best regards,
    Grzegorz