Increase heap size in ibm websphere
Get via App Store Read this post in our app!
Java Heap Space Out of Memory wtih Websphere Admin Console
I am not able to open the Administrative console of websphere application server v8.5. The logs report Java Heap Space and Out of Memory errors. I have searched online and the suggestions are to increase the JVM heap size. But how should I accomplish that now, when even the admin console is not working for me ?
Is there a method to free up the heap space somehow ?
In this situation you must bypass the administration console. If you want to do that just edit the configuration file for the server, i.e. edit the server.xml for that particular server, either the application server process or the deployment manager process depending on what process suffers from the memory problem.
edit the following attributes:
jvmEntries debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" debugMode="false" disableJIT="false" genericJvmArguments="-Xquickstart" runHProf="false" verboseModeClass="false" initialHeapSize="512" maximumHeapSize="1024" verboseModeGarbageCollection="false" verboseModeJNI="false" xmi:id="JavaVirtualMachine_1183121908656"
The server.xml can be found here: /*IBM_ROOT_DIR*/WebSphere/WAS85/AppServer/profiles/MyProfile/config/cells/MyCell/nodes/MyNode/servers/MyServer/server.xml
After the update of the server.xml just restart the server process to utilize the new memory settings.
You need to restart your Websphere profile to free up memory: