Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After installing JBOSS EAP 5.1.1 on my Linux Server, I am getting following error when I run JBOSS with command

JBoss Bootstrap Environment

JBOSS_HOME: /usr/lib/jboss-eap-5.1/jboss-as

JAVA: java

JAVA_OPTS: -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true

CLASSPATH: /usr/lib/jboss-eap-5.1/jboss-as/bin/run.jar


Error occurred during initialization of VM Could not reserve enough space for object heap

share|improve this question
Is this a virtual Linux server? – Kenny Rasschaert Jan 24 '12 at 6:36

The error seems to be saying that the virtual memory size of the machine is smaller than the maximum heap size we are defining via Xms1303m -Xmx1303m. I have changed it to -Xms256m -Xmx512m and it started working in my local Windows box.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.