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.
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..