cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
611
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: pradeep gunawardana on 22-12-2011 03:21:38 AM
Dear All,
 
 
We have around 30 self-services  in current production CVP 3.1, and we are planning
to migrate to CVP8.5, which is running on EXSi (Windows server 2003 ( 32 bits),Intel
Xeon 2.67GHz with 8 GM memory ).  However,
we are receiving an out of memory error  ("The
root cause was: java.lang.OutOfMemoryError: PermGen space") while we
deploying 6 -7 applications out of 30.
Same issue happened in CVP3.1. and we overcame that by increasing
the JVM by editing the catalina.bat with following.
set JAVA_OPTS=-server -XX:NewSize=16m -XX:MaxNewSize=16m
-Xms1536m -Xmx2048m -XX:MaxPermSize=512m.
However, we did the same to CVP 8.5 and still issue not solved.  
 
here I have attached the open heap dump snap for more
information

Subject: RE: CVP 8.5 , OutOfMemoryError: PermGen space
Replied by: Joe Zamora on 22-12-2011 05:42:11 PM
Try this:

Remove contents of CallStudio\eclipse\eclipse.ini.

Change contents of CallStudio\startStudio.cmd to this:

start eclipse\eclipse.exe -data eclipse\workspace -vm eclipse\jre\bin\javaw.exe -vmargs -Xms512m -Xmx512m -XX:MaxPermSize=512m

Subject: RE: CVP 8.5 , OutOfMemoryError: PermGen space
Replied by: pradeep gunawardana on 25-12-2011 04:13:48 PM
Joe, appreciate about your reply .

I have tried to increase PermGen heap size by adding the "set JAVA_OPTS=-XXermSize=128m -XX:MaxPermSize=256M -Xms1024M -Xmx1024m -server" in to setenv.bat .
However, it not solved the problem. 
Then I have updated the JVM registry value for VXMLServer with above values. After the restart service no more "java.lang.OutOfMemoryError: PermGen space" and solved the problem.  But my doubt is why it failed to load setenv.bat values to registry and is it recommend to change registry value manually.  

Regards,
Pradeep
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links