How to increase the JVM heap size in web sphere?

How to increase the JVM heap size in web sphere?

1. By Server Console

Servers -> Server Types -> WebSphere application servers -> Java and Process Management -> Process definition -> Java Virtual Machine -> Configuration

Enter the values in,
[plain] Initial heap size and Maximum heap size text boxes.[/plain] (256m and 1024m) are recommended.

2. By Server.xml file:

C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\config\cells\Node03Cell\nodes\Node03\servers\server1

Open the server.xml file and search with heap,

[plain]
<jvmEntries initialHeapSize="256m" maximumHeapSize="1024m">
[/plain]

Change the above values accordingly.

Leave a Reply