Tuesday, February 28, 2017

WCS Toolkit - Fix Out of Memory Issue

We have often encountered Out of memory error during WCS toolkit installation and this error occurs during last step while configuring workspace


Below are the steps mentioned to avoid this error and have successful WCS toolkit installation;

Step 1: Uninstall WCS through IBM installation manager, if it is partially installed (WCS is installed but workspace is not configured )

Step2: Delete WCDE folder and its contents

Step3: Start installation again using IBM installation manager

Step4: During process of WCS installation, some zip folders are extracted. Watch for file generation of file setenv.bat ( in folder WCDE_Install_DIR\bin like C:\IBM\WCDE_ENT70\bin ). As soon as this file gets generated, Please make sure that you make this change
a>    Search for line
set ECLIPSE_ANT=%RAD_HOME%\jdk\bin\java -cp "%ECLIPSE_CP%" org.eclipse.equinox.launcher.Main -application com.ibm.etools.j2ee.ant.RunAnt

b>    Add -Xmx1024m to this line. After change this line should look like
set ECLIPSE_ANT=%RAD_HOME%\jdk\bin\java -Xmx1024m -cp "%ECLIPSE_CP%" org.eclipse.equinox.launcher.Main -application com.ibm.etools.j2ee.ant.RunAnt


Step 5: Save file

Step 4, 5 needs to be performed during installation process.

No comments: