Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8068949

MaxDirectMemorySize jvm argument does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 7u45
    • core-libs
    • x86_64
    • linux

      FULL PRODUCT VERSION :
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux celeborn 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      I am running my application on java 7u45. Since the application was using much more memory than the heap memory allocation, I tried using the jvm agument -XX:MaxDirectMemorySize=2000m to limit the native memory consumption. But even after this, the native memory consumption has reached upto 5gb.
      Please note that RAM on the machine is 8GB and heap allocated is 1GB.


      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: