Solved

ws_ant heap increase

Posted on 2010-08-16
4
1,204 Views
Last Modified: 2013-12-11
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
Comment
Question by:wasman
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Radek Baranowski
ID: 33453171
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
 
LVL 8

Accepted Solution

by:
AdminRAM earned 250 total points
ID: 33465843
Can setting using -Xmx in ws_ant.bat file.
ex) edit ws_ant.bat
-----------
"%JAVA_HOME%\bin\java"  -Xmx1024m
0
 
LVL 11

Assisted Solution

by:Radek Baranowski
Radek Baranowski earned 250 total points
ID: 33467162
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
 

Author Closing Comment

by:wasman
ID: 33694874
didn't resolved the issue
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question