Solved

ws_ant heap increase

Posted on 2010-08-16
4
1,170 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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. …
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now