COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: cognosda on 30 Jan 2015 03:21:40 PM

Title: PermGen space java.lang.OutOfMemoryError
Post by: cognosda on 30 Jan 2015 03:21:40 PM
Constantly facing this issue.

Was able to resolve it by adding a setenv.sh inside tomcat / bin and adding this line to it:
export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=192m -XX:MaxPermSize=512m"

But, did a server reboot, restarted the services of Cognos and the error came back.

Environment: Cognos 10.2.2, Red hat Linux 6.6
Title: Re: PermGen space java.lang.OutOfMemoryError
Post by: JimC on 19 Mar 2015 04:30:08 PM
I'm running 10.2.1 and simply modified bootstrap_linuxi38664.xml in the bin64 directory.  I changed line 24 to:
<param condName="${java_vendor}" condValue="Sun">-XX:MaxPermSize=512m</param>

Hope this is helpful