Solved

ws_ant heap increase

Posted on 2010-08-16
4
1,249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
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…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

695 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