Reputation: 4963
I am getting the following error while deploying an application on Websphere Application Server version 8.
SystemErr R Exception in thread "server.startup : 0" com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is java.lang.OutOfMemoryError]Exception in thread "Default : 1" java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryErrorException in thread "ORB.thread.pool : 2" java.lang.OutOfMemoryError
How to resolve this error?
Upvotes: 2
Views: 4292
Reputation: 4963
Solution:
In Websphere Application Server (WAS), do this by starting the server and opening the Administration Console and going to:
Servers -> [Server Type] -> [ServerName] -> Java and Process Management -> Process Definition -> Java Virtual Machine -> Adjust Initial heap size and Maximum Heap size accordingly.
Here's more info: Solving memory problems in WebSphere applications
Upvotes: 4