SimpleFSDirectory doesn't use memory mapping. I'd check you dont have leaks of indexreaders or similar. This error happens in windows when it runs out of open file handles.
On Mon, Sep 15, 2014 at 3:52 AM, Michael McCandless <luc...@mikemccandless.com> wrote: > Maybe your OS is running out of total virtual memory? Try looking in > task manager? > > Mike McCandless > > http://blog.mikemccandless.com > > > On Mon, Sep 15, 2014 at 3:19 AM, Vincent Sevel <v.se...@lombardodier.com> > wrote: >> Hi, >> >> I have had this issue : >> >> >> java.io.FileNotFoundException: >> F:\logserver\index\INFRA-LOGSERVER2_UNIV_UNIV_DBIZ\cpp\cpp_D_2014-09-13\_xr_Lucene45_0.dvd >> (Insufficient system resources exist to complete the requested service) >> at java.io.RandomAccessFile.open(Native Method) >> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216) >> at >> org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:382) >> at >> org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:103) >> at >> org.apache.lucene.store.SimpleFSDirectory.openInput(SimpleFSDirectory.java:58) >> at org.apache.lucene.store.Directory.copy(Directory.java:185) >> at >> org.apache.lucene.store.TrackingDirectoryWrapper.copy(TrackingDirectoryWrapper.java:50) >> at >> org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4671) >> at >> org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:535) >> at >> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:502) >> at >> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:508) >> at >> org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:380) >> at >> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:472) >> at >> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1534) >> at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1204) >> at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1185) >> ... >> >> the os is : microsoft windows server 2008 R2 Standard service pack 1 >> the F: drive is on the SAN. >> The index takes only 2.4 Gb on the disk. >> And there was 700 Gb free on the drive. >> I have been running lucene 4.7.2 for a few weeks. >> Before that I was running 3.X for a long long time. >> It is the first time I have had this. >> >> >> Any clue? >> >> Here is a "dir" on the index folder: >> >> >> F:\logserver\index\INFRA-LOGSERVER2_UNIV_UNIV_DBIZ\cpp\cpp_D_2014-09-13>dir >> Volume in drive F is Data2 >> Volume Serial Number is BCE1-C2B3 >> >> Directory of >> F:\logserver\index\INFRA-LOGSERVER2_UNIV_UNIV_DBIZ\cpp\cpp_D_2014-09-13 >> >> 15.09.2014 01:01 <DIR> . >> 15.09.2014 01:01 <DIR> .. >> 15.09.2014 00:01 20 segments.gen >> 15.09.2014 00:01 1'155 segments_fg >> 13.09.2014 00:52 29'965'939 _33.fdt >> 13.09.2014 00:52 39'350 _33.fdx >> 13.09.2014 00:52 3'775 _33.fnm >> 13.09.2014 00:52 925'296 _33.nvd >> 13.09.2014 00:52 57 _33.nvm >> 13.09.2014 00:52 451 _33.si >> 13.09.2014 00:52 29'943'092 _33_Lucene41_0.doc >> 13.09.2014 00:52 20'360'820 _33_Lucene41_0.pos >> 13.09.2014 00:52 134'078'995 _33_Lucene41_0.tim >> 13.09.2014 00:52 2'195'230 _33_Lucene41_0.tip >> 13.09.2014 00:52 5'632'139 _33_Lucene45_0.dvd >> 13.09.2014 00:52 181 _33_Lucene45_0.dvm >> 13.09.2014 01:56 40'582'281 _7b.fdt >> 13.09.2014 01:56 51'013 _7b.fdx >> 13.09.2014 01:57 3'775 _7b.fnm >> 13.09.2014 01:57 1'273'742 _7b.nvd >> 13.09.2014 01:57 57 _7b.nvm >> 13.09.2014 01:57 451 _7b.si >> 13.09.2014 01:57 39'450'774 _7b_Lucene41_0.doc >> 13.09.2014 01:57 26'965'828 _7b_Lucene41_0.pos >> 13.09.2014 01:57 183'240'805 _7b_Lucene41_0.tim >> 13.09.2014 01:57 2'987'652 _7b_Lucene41_0.tip >> 13.09.2014 01:57 8'731'837 _7b_Lucene45_0.dvd >> 13.09.2014 01:57 181 _7b_Lucene45_0.dvm >> 13.09.2014 03:16 24'042'612 _bs.fdt >> 13.09.2014 03:16 30'141 _bs.fdx >> 13.09.2014 03:16 3'775 _bs.fnm >> 13.09.2014 03:16 758'200 _bs.nvd >> 13.09.2014 03:16 57 _bs.nvm >> 13.09.2014 03:16 451 _bs.si >> 13.09.2014 03:16 22'899'430 _bs_Lucene41_0.doc >> 13.09.2014 03:16 15'990'453 _bs_Lucene41_0.pos >> 13.09.2014 03:16 110'022'516 _bs_Lucene41_0.tim >> 13.09.2014 03:16 1'754'233 _bs_Lucene41_0.tip >> 13.09.2014 03:16 4'014'752 _bs_Lucene45_0.dvd >> 13.09.2014 03:16 181 _bs_Lucene45_0.dvm >> 13.09.2014 04:02 44'841'179 _eb.fdt >> 13.09.2014 04:02 56'741 _eb.fdx >> 13.09.2014 04:03 3'775 _eb.fnm >> 13.09.2014 04:03 1'414'960 _eb.nvd >> 13.09.2014 04:03 57 _eb.nvm >> 13.09.2014 04:03 451 _eb.si >> 13.09.2014 04:03 44'625'229 _eb_Lucene41_0.doc >> 13.09.2014 04:03 29'937'824 _eb_Lucene41_0.pos >> 13.09.2014 04:03 202'021'906 _eb_Lucene41_0.tim >> 13.09.2014 04:03 3'237'643 _eb_Lucene41_0.tip >> 13.09.2014 04:03 9'157'516 _eb_Lucene45_0.dvd >> 13.09.2014 04:03 181 _eb_Lucene45_0.dvm >> 13.09.2014 06:51 40'167'307 _ij.fdt >> 13.09.2014 06:51 53'088 _ij.fdx >> 13.09.2014 06:52 3'775 _ij.fnm >> 13.09.2014 06:52 1'290'430 _ij.nvd >> 13.09.2014 06:52 57 _ij.nvm >> 13.09.2014 06:52 451 _ij.si >> 13.09.2014 06:52 40'675'162 _ij_Lucene41_0.doc >> 13.09.2014 06:52 27'541'966 _ij_Lucene41_0.pos >> 13.09.2014 06:52 184'102'479 _ij_Lucene41_0.tim >> 13.09.2014 06:52 2'993'951 _ij_Lucene41_0.tip >> 13.09.2014 06:52 6'852'051 _ij_Lucene45_0.dvd >> 13.09.2014 06:52 181 _ij_Lucene45_0.dvm >> 13.09.2014 08:40 24'350'673 _n0.fdt >> 13.09.2014 08:40 31'300 _n0.fdx >> 13.09.2014 08:40 3'775 _n0.fnm >> 13.09.2014 08:40 773'476 _n0.nvd >> 13.09.2014 08:40 57 _n0.nvm >> 13.09.2014 08:40 451 _n0.si >> 13.09.2014 08:40 23'468'072 _n0_Lucene41_0.doc >> 13.09.2014 08:40 16'295'632 _n0_Lucene41_0.pos >> 13.09.2014 08:40 112'212'435 _n0_Lucene41_0.tim >> 13.09.2014 08:40 1'791'694 _n0_Lucene41_0.tip >> 13.09.2014 08:40 4'110'169 _n0_Lucene45_0.dvd >> 13.09.2014 08:40 181 _n0_Lucene45_0.dvm >> 13.09.2014 09:20 46'277'490 _oq.fdt >> 13.09.2014 09:20 59'989 _oq.fdx >> 13.09.2014 09:21 3'775 _oq.fnm >> 13.09.2014 09:21 1'462'038 _oq.nvd >> 13.09.2014 09:21 57 _oq.nvm >> 13.09.2014 09:21 451 _oq.si >> 13.09.2014 09:21 45'605'544 _oq_Lucene41_0.doc >> 13.09.2014 09:21 30'965'629 _oq_Lucene41_0.pos >> 13.09.2014 09:21 207'368'882 _oq_Lucene41_0.tim >> 13.09.2014 09:21 3'293'821 _oq_Lucene41_0.tip >> 13.09.2014 09:21 8'315'229 _oq_Lucene45_0.dvd >> 13.09.2014 09:21 181 _oq_Lucene45_0.dvm >> 13.09.2014 11:27 332 _th.cfe >> 13.09.2014 11:27 190'005'682 _th.cfs >> 13.09.2014 11:27 313 _th.si >> 13.09.2014 11:40 332 _u1.cfe >> 13.09.2014 11:40 5'636'026 _u1.cfs >> 13.09.2014 11:40 313 _u1.si >> 13.09.2014 11:56 332 _ul.cfe >> 13.09.2014 11:56 5'800'202 _ul.cfs >> 13.09.2014 11:56 313 _ul.si >> 13.09.2014 12:03 46'445'379 _vp.fdt >> 13.09.2014 12:03 59'731 _vp.fdx >> 13.09.2014 12:04 3'775 _vp.fnm >> 13.09.2014 12:04 1'457'418 _vp.nvd >> 13.09.2014 12:04 57 _vp.nvm >> 13.09.2014 12:04 451 _vp.si >> 13.09.2014 12:04 45'981'357 _vp_Lucene41_0.doc >> 13.09.2014 12:04 30'937'970 _vp_Lucene41_0.pos >> 13.09.2014 12:04 207'062'692 _vp_Lucene41_0.tim >> 13.09.2014 12:04 3'296'742 _vp_Lucene41_0.tip >> 13.09.2014 12:04 7'769'505 _vp_Lucene45_0.dvd >> 13.09.2014 12:04 181 _vp_Lucene45_0.dvm >> 13.09.2014 12:04 332 _w0.cfe >> 13.09.2014 12:04 5'454'497 _w0.cfs >> 13.09.2014 12:04 313 _w0.si >> 13.09.2014 12:05 332 _w9.cfe >> 13.09.2014 12:05 42'929'359 _w9.cfs >> 13.09.2014 12:05 313 _w9.si >> 13.09.2014 12:06 332 _wk.cfe >> 13.09.2014 12:06 5'617'538 _wk.cfs >> 13.09.2014 12:06 313 _wk.si >> 13.09.2014 12:07 332 _wt.cfe >> 13.09.2014 12:07 42'967'465 _wt.cfs >> 13.09.2014 12:07 313 _wt.si >> 13.09.2014 12:08 332 _x4.cfe >> 13.09.2014 12:08 31'775'077 _x4.cfs >> 13.09.2014 12:08 313 _x4.si >> 13.09.2014 12:08 332 _xa.cfe >> 13.09.2014 12:08 641'721 _xa.cfs >> 13.09.2014 12:08 275 _xa.si >> 13.09.2014 12:08 332 _xd.cfe >> 13.09.2014 12:08 5'470'414 _xd.cfs >> 13.09.2014 12:08 313 _xd.si >> 13.09.2014 12:08 332 _xf.cfe >> 13.09.2014 12:08 618'071 _xf.cfs >> 13.09.2014 12:08 275 _xf.si >> 13.09.2014 12:08 332 _xh.cfe >> 13.09.2014 12:08 603'740 _xh.cfs >> 13.09.2014 12:08 275 _xh.si >> 13.09.2014 12:09 332 _xj.cfe >> 13.09.2014 12:09 605'459 _xj.cfs >> 13.09.2014 12:09 275 _xj.si >> 13.09.2014 12:09 332 _xl.cfe >> 13.09.2014 12:09 612'148 _xl.cfs >> 13.09.2014 12:09 275 _xl.si >> 13.09.2014 12:09 332 _xn.cfe >> 13.09.2014 12:09 621'233 _xn.cfs >> 13.09.2014 12:09 275 _xn.si >> 13.09.2014 12:09 332 _xq.cfe >> 13.09.2014 12:09 621'662 _xq.cfs >> 13.09.2014 12:09 275 _xq.si >> 14.09.2014 05:05 332 _xr.cfe >> 14.09.2014 05:05 932'805 _xr.cfs >> 14.09.2014 05:05 275 _xr.si >> 14.09.2014 05:05 332 _xs.cfe >> 14.09.2014 05:05 42'989'142 _xs.cfs >> 14.09.2014 05:05 313 _xs.si >> 14.09.2014 06:00 332 _xt.cfe >> 14.09.2014 06:00 3'809'604 _xt.cfs >> 14.09.2014 06:00 275 _xt.si >> 14.09.2014 06:03 332 _xu.cfe >> 14.09.2014 06:03 2'092'352 _xu.cfs >> 14.09.2014 06:03 275 _xu.si >> 15.09.2014 00:01 332 _xv.cfe >> 15.09.2014 00:01 2'364'866 _xv.cfs >> 15.09.2014 00:01 275 _xv.si >> 15.09.2014 00:01 332 _xw.cfe >> 15.09.2014 00:01 2'602'230 _xw.cfs >> 15.09.2014 00:01 275 _xw.si >> 164 File(s) 2'609'121'343 bytes >> 2 Dir(s) 817'274'556'416 bytes free >> >> Regards, >> vince >> >> >> >> ************************ DISCLAIMER ************************ >> This message is intended only for use by the person to >> whom it is addressed. It may contain information that is >> privileged and confidential. Its content does not constitute >> a formal commitment by Bank Lombard Odier & Co Ltd or any >> of its branches or affiliates. If you are not the intended recipient >> of this message, kindly notify the sender immediately and >> destroy this message. Thank You. >> ***************************************************************** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org