title: Could not create the Java virtual machine
body: <p>facing some problem with java virtual machine initialization. when i am using root account i can properly work with java. but when i am a user account it returns following errors</p>
  
  <pre><code>user@host# $JAVA_HOME/bin/java -version
  Error occurred during initialization of VM
  Could not reserve enough space for object heap
  Could not create the Java virtual machine.
  </code></pre>
  
  <p>It does not seems like a memory issue as the same command works with root account. Available memory (free -m) is more than 1200MB
  Also i have tried increasing the JVM memory limits</p>