Page 1 of 1

Demosite Deployment Takes toolong

Posted: Sun May 24, 2015 5:08 am
by dark5tar
Hi
mycompany demosite I'm deploying in tomcat 8 and I have
CATALINA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:+DisableExplicitGC"
in my setenv.bat Still this takes about 6 to 7 minutes

here is my log, how can i improve this?

[ WARN] 10:52:25 AbstractEhcacheRegionFactory - HHH020003: Could not find a specific ehcache configuration for cache nam
ed [blSandBoxElements]; using defaults.
[ WARN] 10:58:36 SolrCore - [reindex] Solr index directory 'D:\apache-tomcat-8.0.22\temp\Anand\solrhome-4.10.3\cores\rei
ndex\data\index' doesn't exist. Creating new index...
[ WARN] 10:58:37 SolrCore - [primary] Solr index directory 'D:\apache-tomcat-8.0.22\temp\Anand\solrhome-4.10.3\cores\pri
mary\data\index' doesn't exist. Creating new index...

Re: Demosite Deployment Takes toolong

Posted: Tue May 26, 2015 11:58 pm
by phillipuniverse
How much memory do you have on what you are deploying? From your JVM parameters you need at least 2.5GB for the JVM. Are there other processors that are taking memory?

You can also hook up VisualVM to the process via JMX that might also give you some information on the long startup time.