lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toke Eskildsen ...@statsbiblioteket.dk>
Subject RE: Caused by: java.lang.OutOfMemoryError: Map failed
Date Fri, 07 Nov 2014 21:45:47 GMT
Brian Call [brian.call@soterawireless.com] wrote:

[Hundreds of indexes]

> ...
>        at java.lang.Thread.run(Thread.java:724)
> Caused by: java.lang.OutOfMemoryError: Map failed
>         at sun.nio.ch.FileChannelImpl.map0(Native Method)
>         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:846)

That error can also be thrown when the number of open files exceeds the given limit. "OutOfMemory"
should really have been named "OutOfResources".

Check the maximum number of open files with 'ulimit -n'. Try raising it if it seems low.

- Toke Eskildsen

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message