Error when trying to raise max heap size
zyadamec Jul 27, 2006 4:55 PMI am needing to take the max heap size over 1563m, but whenever I try JBoss fails(see screen dump below). The dev server i am using right now is dedicated to getting this web app to run with a larger heap space, so there is nothing running that could even come close to using up the entire heap. The server is dual 3.00 GHz Xenon 64 bit with 8GB of ram. The OS is Windows 2003R2 x64 Edition. I knew that 32 bit windows had a 2 GB limit on memory addressing is this still true with 64 bit?? I also noticed that Java was running in 32 bit (most likely the cause of the problem but I can?t find out where to change the JVM options to run in 64)
Could not locate E:/Programs/Java/jdk1.5.0_07\lib\tools.jar. Unexpected results may occur. Make sure that JAVA_HOME points to a JDK and not a JRE. =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: E:\Programs\jboss-4.0.4.GA . JAVA: E:/Programs/Java/jdk1.5.0_07\bin\java . JAVA_OPTS: -Xms512m -Xmx2000m -Dprogram.name=startJboss.bat -Dfile.encoding=UTF-8 -Dvr2m.log4j.config.file=/web/app/WEB-INF/meta/system/config/logging.xml . CLASSPATH: E:/Programs/Java/jdk1.5.0_07\..\lib\tools.jar;E:/Programs/Java/jdk1.5.0_07\lib\tools.jar;E:\Programs\jboss-4.0.4.GA\bin\run.jar;;E:\App\EV06_PA\3rdparty\classes\jasperreports.jar;E:\App\EV06_PA\3rdparty\classes\bizconnector.jar;E:\App\EV06_PA\3rdparty\classes\jaxp-api.jar;E:\App\EV06_PA\3rdparty\classes\pullparser.jar;E:\App\EV06_PA\3rdparty\classes\oreilly.jar;E:\App\EV06_PA\3rdparty\classes\htmltidy.jar;E:\App\EV06_PA\3rdparty\classes\mail.jar;E:\App\EV06_PA\3rdparty\classes\soap.jar;E:\App\EV06_PA\3rdparty\classes\log4j.jar;E:\App\EV06_PA\3rdparty\classes\jakarta-oro-2.0.7.jar;E:\App\EV06_PA\3rdparty\classes\commons-httpclient-2.0-rc3.jar;E:\App\EV06_PA\3rdparty\classes\junit.jar;E:\App\EV06_PA\3rdparty\classes\aspectjrt-1.1.1.jar;E:\App\EV06_PA\3rdparty\classes\xpp3-1.1.3.4.G.jar;E:/Programs/oracle/ora92/jdbc/lib/classes12.jar;E:\App\EV06_PA\3rdparty\classes\activation.jar;E:\App\EV06_PA\3rdparty\classes\bsh-1.3.0.jar;E:\App\EV06_PA\3rdparty\classes\commons-beanutils-1.5.jar;E:\App\EV06_PA\3rdparty\classes\commons-collections-2.1.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-digester.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-logging.jar;E:\Programs\jboss-4.0.4.GA\server\default\lib\javax.servlet.jar;E:\App\EV06_PA\3rdparty\classes\commons-fileupload-1.0.jar;E:\App\EV06_PA\3rdparty\classes\itext-1.01.jar;E:\App\EV06_PA\3rdparty\classes\iReport-0.4.0.jar;E:\App\EV06_PA\3rdparty\classes\jfreechart-0.9.21.jar;E:\App\EV06_PA\3rdparty\classes\jcommon-0.9.6.jar;E:\App\EV06_PA\3rdparty\classes\poi-2.5.1-final-20040804.jar . . VENDAVO: E:\App\EV06_PA . =============================================================================== . E:\App\EV06_PA\jboss_home\config\vendavo>"E:/Programs/Java/jdk1.5.0_07\bin\java" -hotspot -Xms512m -Xmx2000m -Dprogram.name=startJboss.bat -Dfile.encoding=UTF-8 -Dvr2m.log4j.config.file=/web/app/WEB-INF/meta/system/config/logging.xml -Djava.endorsed.dirs=E:\Programs\jboss-4.0.4.GA\lib\endorsed -classpath "E:/Programs/Java/jdk1.5.0_07\..\lib\tools.jar;E:/Programs/Java/jdk1.5.0_07\lib\tools.jar;E:\Programs\jboss-4.0.4.GA\bin\run.jar;;E:\App\EV06_PA\3rdparty\classes\jasperreports.jar;E:\App\EV06_PA\3rdparty\classes\bizconnector.jar;E:\App\EV06_PA\3rdparty\classes\jaxp-api.jar;E:\App\EV06_PA\3rdparty\classes\pullparser.jar;E:\App\EV06_PA\3rdparty\classes\oreilly.jar;E:\App\EV06_PA\3rdparty\classes\htmltidy.jar;E:\App\EV06_PA\3rdparty\classes\mail.jar;E:\App\EV06_PA\3rdparty\classes\soap.jar;E:\App\EV06_PA\3rdparty\classes\log4j.jar;E:\App\EV06_PA\3rdparty\classes\jakarta-oro-2.0.7.jar;E:\App\EV06_PA\3rdparty\classes\commons-httpclient-2.0-rc3.jar;E:\App\EV06_PA\3rdparty\classes\junit.jar;E:\App\EV06_PA\3rdparty\classes\aspectjrt-1.1.1.jar;E:\App\EV06_PA\3rdparty\classes\xpp3-1.1.3.4.G.jar;E:/Programs/oracle/ora92/jdbc/lib/classes12.jar;E:\App\EV06_PA\3rdparty\classes\activation.jar;E:\App\EV06_PA\3rdparty\classes\bsh-1.3.0.jar;E:\App\EV06_PA\3rdparty\classes\commons-beanutils-1.5.jar;E:\App\EV06_PA\3rdparty\classes\commons-collections-2.1.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-digester.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-logging.jar;E:\Programs\jboss-4.0.4.GA\server\default\lib\javax.servlet.jar;E:\App\EV06_PA\3rdparty\classes\commons-fileupload-1.0.jar;E:\App\EV06_PA\3rdparty\classes\itext-1.01.jar;E:\App\EV06_PA\3rdparty\classes\iReport-0.4.0.jar;E:\App\EV06_PA\3rdparty\classes\jfreechart-0.9.21.jar;E:\App\EV06_PA\3rdparty\classes\jcommon-0.9.6.jar;E:\App\EV06_PA\3rdparty\classes\poi-2.5.1-final-20040804.jar" -Djboss.server.config.url="file:/E:\App\EV06_PA\jboss_home\config\vendavo\conf" org.jboss.Main -c default Error occurred during initialization of VM Could not reserve enough space for object heap E:\App\EV06_PA\jboss_home\config\vendavo>IF ERRORLEVEL 10 GOTO RESTART