java.lang.OutOfMemoryError when trying to publish in Websphere


Websphere server version - 6.1
RAD version - 7.0.0.0

When I tried to publish the EAR in websphere 6.1, I have encountered "java.lang.OutOfMemoryError" in the websphere console.

Work Around - The default WebSphere’s Java Virtual Machine memory is not enough; you need to adjust more memory to your WebSphere Application Server

1. Go to Admin console ->Servers -> Application Servers -> server1
2. Click on server1 and select "Process Definition" under Server Infrastructure -> Java and Process Management




3. In the Process Definition page, under Additional properties select Java Virtual machine 





4.  In java virtual machine page under General Properties, set the Initial Heap Size as 256 MB and Maximum Heap size as 512 MB. Click on Apply and save the changes



5. Restart the server.

Hope this helps :)

No comments:

 My Attempt to learn AI  GPT Generative Pretrained Transformer Created by Google in 2017 with the publication of the paper "Attention ...

Popular in last 30 days