Thanks folks for your suggestions.
Will try increasing the size of the heap and see what is happening.
I am using WAS 4.0.
Meanwhile few more questions arises in the same context,
what is the default value of the heap size if nothing is specified ?
and
What is the criteria to specify the heap size just specifying at random like(256, 512 or 1024) won't work for all the cases. Any guidelines to choose this heap size ?
Will the JVM be capable enough to increase/decrease the heap size automatically
. Is there any settings that i can make at JVM level or at App Server level to do this ?
Thanks Ragav.
Prevention is better than cure.