title: Disabling Java huge-pages system-wide on a RH machine
body: <p>I know I can disable Java's use of huge-pages for a process by adding</p>
  
  <pre><code>-XX:-UseLargePages
  </code></pre>
  
  <p>to the process invocation line.</p>
  
  <p>However, I'd like to prevent <strong>every</strong> java application from using huge-pages, without me having to discover each process running on the machine.</p>
  
  <p>Disabling THP in RH does not do it. Java still, by default, allocate memory from huge-pages even when THP is disabled.</p>