commit | 52d1ab79192a331e1f3fc5f5a202d6a4c5a633b2 | [log] [tgz] |
---|---|---|
author | Uwe Schindler <uschindler@apache.org> | Fri May 16 14:24:38 2014 +0000 |
committer | Uwe Schindler <uschindler@apache.org> | Fri May 16 14:24:38 2014 +0000 |
tree | 196b59ac343760de725717b3f91819ee0287083d | |
parent | 83d150aa21bb0c5e49bf939995263c34114f93f8 [diff] |
LUCENE-5673: MMapDirectory: Work around a "bug" in the JDK that throws a confusing OutOfMemoryError wrapped inside IOException if the FileChannel mapping failed because of lack of virtual address space. The IOException is rethrown with more useful information about the problem, omitting the incorrect OutOfMemoryError git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595213 13f79535-47bb-0310-9956-ffa450edef68