javaPlease42
javaPlease42

Reputation: 4963

Out Of Memory Error | Deploying on WAS 8

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

Answers (1)

javaPlease42
javaPlease42

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.

enter image description here

Here's more info: Solving memory problems in WebSphere applications

Upvotes: 4

Related Questions