cancel
Showing results for 
Search instead for 
Did you mean: 

JVM settings

buster
Champ in-the-making
Champ in-the-making
Alfresco 3.4d on Windows Server 2008 R2 citrix virtual machine. 12GB of RAM is dedicated for this machine.

I keep getting GC, heap, transaction errors, etc. I've read the JVM tuning section of the wiki but I can't find where to set these values for the JVM. I've tried within setenv.bat that is found in alfresco\tomcat\bin and alfresco\scripts but the heap size doesn't change when I restart the Alfresco service. Where exactly do I set these options so that I can increase my heap size?

Thanks!
Buster
2 REPLIES 2

loftux
Star Contributor
Star Contributor
http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html
By "I restart the Alfresco service" I assume you are running Alfresco tomcat installed as a service, then try using tomcat6w.exe to set the options.

buster
Champ in-the-making
Champ in-the-making
Thanks Loftux, you pointed me in the right direction. I'm not too familiar with the service parameters but with the help from that how-to link you provided, I successfully changed the java settings for alfresco. I did so by uninstalling the alfrescoTomcat service, changed the jvm settings inside the %alfresco_home%\tomcat\bin\service.bat file, and then used the "Install Alfresco Community as a Service" to reinstall with the new settings.

Good to go!

-Buster