title: JVM cannot use large page memory because it does not have enough privilege to lock pages in memory
body: <p>I wonder how can I reconcile the following error?</p>
  
  <blockquote>
    <p>JVM cannot use large page memory because it does not have enough
    privilege to lock pages in memory</p>
  </blockquote>
  
  <p>The settings are:</p>
  
  <blockquote>
    <p>set JAVA_OPTS=-Xms20g -Xmx20g -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
    -XX:+UseLargePages -Duser.timezone="GMT" %DEBUG%</p>
  </blockquote>
  
  <p>This happened on Windows Server 2003.</p>