Troubleshooting
Problem
WebLogic 9.2 startweblogic.cmd throws an error.
Cause
In the StartWeblogic.cmd this code runs with the wrong parameter.
@REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
if "%JAVA_VENDOR%"=="Sun" (
set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% -XX:MaxPermSize=128m
)
The 128m is overriding the 512m .
Diagnosing The Problem
The following error will appear when you start the WebLogic server.
<MaxAdminServer> <ÝACTIVE¨ ExecuteThread: '1' for queue:
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>
<1257881451005> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
Resolving The Problem
Navigate to your \bea\user_projects\domains\MaximoServer\bin directory using Windows Explorer. Right click the setDomainEnv.cmd file and choose Edit.
Edit the setDomainEnv.cmd file to make sure you have entered the memory arguments as follows.
@REM original set MEM_ARGS=-Xms256m -Xmx512m
set MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m
Also make the following changes
@REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
if "%JAVA_VENDOR%"=="Sun" (
set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% -XX:MaxPermSize=512m
After the changes save the file and start WebLogic
Was this topic helpful?
Document Information
More support for:
IBM Maximo Asset Management
Software version:
6.2.5, 6.2.6, 6.2.7, 6.2.8, 7.1, 7.1.1
Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows
Document number:
131855
Modified date:
19 August 2022
UID
swg21411216