ws_ant heap increase

How to increase Heap setting for ws_ant file in /opt/IBM/WebSphere/AppServer/bin/ws_ant , i tried couple of options it won't take it

-Xms256m -Xmx512m \

By default it is giving 256m

   [wsJspC] '-Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer//deploytool/itp'
   [wsJspC] '-Xmx256M'
wasmanAsked:
Who is Participating?
 
AdminRAMConnect With a Mentor Commented:
Can setting using -Xmx in ws_ant.bat file.
ex) edit ws_ant.bat
-----------
"%JAVA_HOME%\bin\java"  -Xmx1024m
0
 
Radek BaranowskiFull-stack Java DeveloperCommented:
you might want to look in properties directory for a file like ws_ant.properties or something like this, it might be getting params from there.
0
 
Radek BaranowskiConnect With a Mentor Full-stack Java DeveloperCommented:
guess it's not plain
"%JAVA_HOME%\bin\java"  -Xmx1024m

but look for the last line of the batch - there's an invocation of whole set of flags and switches for ws_ant as the batch is quite versatile and commonly used in almost all config scripts. try adding there additional jvm flags, but as far as I understand, tha batch takes also standard shell args while starting, so probably you've already tried this as stated above.
0
 
wasmanAuthor Commented:
didn't resolved the issue
0
All Courses

From novice to tech pro — start learning today.