AnsweredAssumed Answered

java.lang.OutOfMemoryError in WebExplorer advance search

Question asked by joe.l3 on May 8, 2012
Hi all,
I've installed a Cluster environment with 2 alfresco nodes for massive bulk import (abount 1500 daily document). The alf_data directory is mounted on a NFS server and database connection points on a Mysql dedicated server.
I have a problem making an advance search in Alfresco Web Explorer (for example looking for "CI1*" in advance search form).
Here my system configuration:
- Alfresco 4.0.0 Enterprise - 2 cluster nodes on Redhat Enterprise 5.6 - 2.6.18-238.el5 x86_64
- Mysql 5.1.61
- JDK 1.6.0_22-b04
- alf_data NFS sharing
- solr search engine enabled

- JAVA_OPTS="-XX:MaxPermSize=512m -Xms9000m -Xmx9000m -XX:-DisableExplicitGC -Dalfresco.home=/home/alfresco/alfresco-4.0.0 -Dcom.sun.management.jmxremote -sun.security.ssl.allowUnsafeRenegotiation=true"

- About 3 millions of document
- About 1500 bulk insert in content store every day
- No Share webapp utilization

Here the error stacktrace

Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "DefaultScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at org.quartz.CronExpression.addToSet(CronExpression.java:1008)
        at org.quartz.CronExpression.storeExpressionVals(CronExpression.java:571)
        at org.quartz.CronExpression.buildExpression(CronExpression.java:430)
        at org.quartz.CronExpression.<init>(CronExpression.java:255)
        at org.quartz.CronExpression.clone(CronExpression.java:1571)
        at org.quartz.CronTrigger.clone(CronTrigger.java:464)
        at org.quartz.simpl.RAMJobStore.acquireNextTrigger(RAMJobStore.java:1265)
        at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)
java.lang.OutOfMemoryError: GC overhead limit exceeded
        at org.apache.lucene.index.TermBuffer.toTerm(TermBuffer.java:122)
        at org.apache.lucene.index.SegmentTermEnum.term(SegmentTermEnum.java:169)
        at org.apache.lucene.index.SegmentMergeInfo.next(SegmentMergeInfo.java:70)
        at org.apache.lucene.index.DirectoryReader$MultiTermEnum.next(DirectoryReader.java:1010)
        at org.alfresco.solr.tracker.CoreTracker.getLastTxCommitTimeBeforeHoles(CoreTracker.java:2757)
        at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1159)
        at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
        at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Exception in thread "SolrTrackerScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.util.TreeMap.put(TreeMap.java:554)
        at java.util.TreeSet.add(TreeSet.java:238)
        at org.quartz.CronExpression.addToSet(CronExpression.java:1008)
       
2012-05-07 18:12:25,095  ERROR [jgroups.protocols.TCP] [OOB-812,clusteralf :EHCACHE_HEARTBEAT,alfresco0-2333] failed sending message to bpp-alfr…
2012-05-07 18:12:34,037  ERROR [jgroups.protocols.TCP] [OOB-821,clusteralf :EHCACHE_HEARTBEAT,alfresco0-2333] failed sending message to bpp-alf…
May 7, 2012 6:12:34 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.OutOfMemoryError: GC overhead limit exceeded
org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 040710751 Request failed 500 /solr/alfresco/alfresco?q=TYPE%3A%22%7Bhttp%3A%2F%2Fwww.alfres$
        at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:333)
        at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)

Any suggestions?
Thanks in advance

Outcomes