This content has been marked as final. Show 4 replies
Make sure that the system has enough memory. Setting heap size alone in java process will not work unless the system has enough memory.
You can additionally try the following -
1. Add java heap size in the verifier script present in the bin directory of appserver installation. If you are using appserver that comes with JAVKE then you can get the verifier script at '<JAVKE_Install_Dir>\appserver\bin'. The ant scripts internally call this script.
2. You can add following argument in all the JAVKE ant tasks that you are using (like static-archive-test, translate-dd)
Hope it helps.
I was able to solve this problem by adding -ms1g -mx1.5g parameters to java command in '<JAVKE_Install_Dir>\appserver\bin\verifier.bat' file.
Thanks for your help
I've got your same problem and talkin with a Sun Adviser I found that this kind of error is throw when you use jdk 1.4. If you use jdk 1.5 it works.
try adding this code in verifier.bat at the last
"%AS_JAVA%\bin\java" -Xmx1024m -XX:MaxPermSize=128m %SYSTEM_PROPERTIES% -classpath %JVM_CLASSPATH%;%HELP% com.sun.enterprise.tools.verifier.Verifier -C "%AS_INSTALL%\lib\verifier" %*
if "%AS_VERIFIER_BACKEND%" == "TRUE" exit %ERRORLEVEL%
out of memory will not be encountered..