One time while working with Websphere server 8.0.0.4 version. I experienced the below error when trying to start the websphere server.
JVMJ9VM015W Initialization error for library j9gc26(2): Failed to instantiate heap;
Could not create the Java virtual machine.
Reason:- There is no enough memory for the server to create the JVM (Java Virtual Machine).
Then i remembered that i put a 2GB memory max for the JVM . Since the server is down I could not adjust the heap size in JVM settings through web console, when i found out there was a work around to change the heap size by changing the entry in server.xml
Search for Heap and change the max heap size to 1GB in jvmEntries.
initialHeapSize="256" maximumHeapSize="1024"
JVMJ9VM015W Initialization error for library j9gc26(2): Failed to instantiate heap;
Could not create the Java virtual machine.
Reason:- There is no enough memory for the server to create the JVM (Java Virtual Machine).
Then i remembered that i put a 2GB memory max for the JVM . Since the server is down I could not adjust the heap size in JVM settings through web console, when i found out there was a work around to change the heap size by changing the entry in server.xml
C:\Program
Files\IBM\WebSphere\AppServer8.0\profiles\AppSrv01\config\cells\[Your Cell]l\nodes\[Your Node]\servers\server1\server.xml
Go to jvmEbtries under processDefinitions
Hope this helps
2 comments:
Hello Seems good for V8. just wondering about for v7 there are no folders mentioned here
I have the same issue in IBM Engineering lifecycle installation:-
Problem:- JVMJ9VM015W Initialization error for library j9gc26(2): Failed to instantiate heap; Could not create the Java virtual machine.
Solution:- I just did it and solve my issue. If you don't have 16GB ram then please don't change the jazz server startup file. If you have 8GB ram then Only do not increase memory size in the server.: **set JAVA_OPTS=%JAVA_OPTS% -Xmx4G** **set JAVA_OPTS=%JAVA_OPTS% -Xms4G** **set JAVA_OPTS=%JAVA_OPTS% -Xmn1G**
Post a Comment