Hi,
I added change inline. Please let me/us know how it went. Additionally on this page(http://www.answerspice.com/c119/1574150/how-to-deal-with-javalangou tofmemoryerror-permgen-space-error) they suggest using the MaxPermSize and some sweeping options. If the change suggested by Matt(and inserted by me below) doesn't work, you could give a try to the ones mentioned in the article. Good luck, Chris ________________________________ From: Jim Canfield [mailto:[email protected]] Sent: Thursday, August 19, 2010 9:07 PM To: Krisztian Ganyai Cc: Matt White; [email protected] Subject: Re: [sipx-users] Increaseing java memory On Wed, Aug 18, 2010 at 4:48 AM, Krisztian Ganyai <[email protected]> wrote: Hi, I would insert it in the onWebUi() function of /usr/bin/sipxconfig.sh as a new line somewhere after the "exec $JavaCmd \". I have 4.2 vanilla and the suitable line numbers are 201-204 there. Please let me know how it went. I have a customer who is currently fighting the JAVA memory errors with CDR reports. What changes exactly need to be made here to increase them memory? onWebUi() { runningUserCheck || exit 1 firstRunCheck databaseCommand upgrade databaseVersionCheck setTrustStoreOpts JavaOpts="$SIPXCONFIG_OPTS" clearIndexLocks X509Algorithm=`$JavaCmd \ -classpath "$Classpath" \ org.sipfoundry.sipxconfig.common.X509Selector` # Used in sipxconfig-jetty.xml only SystemProps="\ -Djava.io.tmpdir=${TmpDir} \ -Djetty.lib.dir=/usr/share/java/sipXecs/sipXconfig \ -Djetty.conf.dir=/etc/sipxpbx \ -Djetty.log.dir=${LogDir} \ -Djetty.x509.algorithm=${X509Algorithm} \ -Dorg.apache.lucene.lockdir=${IndexDir} \ -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLo gger \ -Djava.awt.headless=true" KeyStoreOpts="\ -Djavax.net.ssl.keyStore=$SslDir/ssl.keystore \ -Djavax.net.ssl.keyStorePassword=$StorePassword" Classpath=`classpath \ /etc/sipxpbx \ ${CommonsLibDir}/*.jar \ ${LibDir}/*.jar` echo $$ > ${PidFile} exec $JavaCmd \ -XX:MaxPermGen=128M \ $SystemProps \ $JavaOpts \ $TrustStoreOpts \ $KeyStoreOpts \ -classpath "$Classpath" \ org.mortbay.jetty.Server /etc/sipxpbx/sipxconfig-jetty.xml }
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users/
