Lucene Merge Thread - Java memory error
Posted: Tue May 06, 2014 10:00 pm
Hi,
Since upgrading to 5.0.0 (and now also after upgrading to 5.0.1) on Ubuntu 12.04 with Ice 3.4, I get lots of errors in master.err about Lucene running out of memory such as:
----
omero@quid:~/OMERO.server/var/log$ more master.err
Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy
$MergeException: java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException
(ConcurrentMergeScheduler.java:309)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Conc
urrentMergeScheduler.java:286)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.
java:154)
------
and many of these:
--------
Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy
$MergeException: java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException
(ConcurrentMergeScheduler.java:309)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Conc
urrentMergeScheduler.java:286)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy
$MergeException: java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException
(ConcurrentMergeScheduler.java:309)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Conc
urrentMergeScheduler.java:286)
Caused by: java.lang.OutOfMemoryError: Java heap space
--------------
Is there indeed a place somewhere in Templates.xml where I should increase the Java memory? I already increased the Java memory allocations for BlitzTemplate and PixelDataTemplate per the manual. Should I increase the one for IndexerTemplate as well?
Thanks,
- Damir
Since upgrading to 5.0.0 (and now also after upgrading to 5.0.1) on Ubuntu 12.04 with Ice 3.4, I get lots of errors in master.err about Lucene running out of memory such as:
----
omero@quid:~/OMERO.server/var/log$ more master.err
Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy
$MergeException: java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException
(ConcurrentMergeScheduler.java:309)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Conc
urrentMergeScheduler.java:286)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.
java:154)
------
and many of these:
--------
Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy
$MergeException: java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException
(ConcurrentMergeScheduler.java:309)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Conc
urrentMergeScheduler.java:286)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy
$MergeException: java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException
(ConcurrentMergeScheduler.java:309)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Conc
urrentMergeScheduler.java:286)
Caused by: java.lang.OutOfMemoryError: Java heap space
--------------
Is there indeed a place somewhere in Templates.xml where I should increase the Java memory? I already increased the Java memory allocations for BlitzTemplate and PixelDataTemplate per the manual. Should I increase the one for IndexerTemplate as well?
Thanks,
- Damir