[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1298
  • Last Modified:

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'
0
wasman
Asked:
wasman
  • 2
2 Solutions
 
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
 
AdminRAMCommented:
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:
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now