Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

AEM 6.1 lucene map error

Avatar

Level 4

The below errors are thrown on AEM 6.1 please suggest if any config changes need to be done.

16.03.2016 10:53:56.561 *ERROR* [pool-5-thread-19] org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker Failed to open Lucene index at /oak:index/lucene
java.io.IOException: Map failed
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:888)
at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:283)
at org.apache.lucene.store.MMapDirectory$MMapIndexInput.<init>(MMapDirectory.java:228)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:195)

 

1 Reply

Avatar

Employee Advisor

It could be happening because of the low virtual memory allocation. Check the following threads - http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201510.mbox/%3CCAHtVnBbhFGy9ETdAn1k_bEpG...

http://stackoverflow.com/questions/8892143/error-when-opening-a-lucene-index-map-failed

You can try increasing the virtual memory allocation. Set it in the limits.conf file.

ulimit -v unlimited