Description
The CloudBees CD server becomes unresponsive and displays an OutOfMemory
error prompt that states that the server is out of PermGen
space. This prompt occurs when the server is not configured properly for a 64-bit JVM.
Workaround
Change a setting in wrapper.conf
.
-
Locate the
wrapper.conf
file.-
The file to edit on Linux is:
` /opt/electriccloud/electriccommander/conf/wrapper.conf`
-
The file to edit on Windows is:
<CloudBees CD Automation Platform data dir>/conf/wrapper.conf
-
On Windows 7 or 2008, the
DATA_DIRECTORY
is typically:C:\ProgramData\Electric Cloud\ElectricCommander
-
-
Add the following line to the end of the existing “
wrapper.java.additional
” section, being careful to use the next consecutive number.In the following example, 7 was the last pre-existing sequence number in this section.
wrapper.java.additional.8=-XX:MaxPermSize=128m
You should set the Java MaxPermSize to a number greater than the default (which is 84m) on an 64-bit CloudBees CD server (java) installation.
|
-
After the file has been edited, restart the server to utilize the new value:
-
On Linux:
/etc/init.d/commanderServer restart
-
On Windows: use “Services”
-