title: JVM options -Xms and -Xmx are ignored
body: <p>I have an application running on a browser (IE if it matters) on a not yet activated windows (if that matters). I have set the environment variables in the JVM control panel to be -Xms5m -Xmx5m (I have also done -Xms16m and -Xmx16m). </p>
  
  <p>When I run the application and monitor the pid of the process using jconsole it tells me I am using significantly more than my set heap rather than throwing a out of heap space error (I am trying specifically to get this error). It uses 15-20Mb according to jconsole. I have rebooted my computer and I have set this option with all of my browsers off. </p>
  
  <p>Does anyone know why the parameters are being ignored. </p>
  
  <p>Let me know if there is any information missing. </p>
  
  <p>Just a note, jconsole specifically says that my <em>heap memory usage</em> is 20mb. I am quite aware that there may be more memory used due to the loading of the JVM, libraries, stack, etc. The issue I am having is that the heap is exceeding the heap size I am specifying should be used.</p>
  
  <p>The -Xmx16m option is not being listed in Java VisualVm even when it is the only option being set in the environmental variables (I have even removed -Xms16m to make sure that Java VisualVm is being updated. -Xms16m does appear though even though -Xmx16m doesn't). Does anyone know why this might be the case?</p>
  
  <p>I have tried Java RE version 6 from 27 to 31 and all of them are missing the Xmx option in the Java VisualVm option and all of them only have -Xms16m. </p>