lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Commented: (LUCENE-727) MMapDirectory can't create new index on Windows
Date Tue, 28 Nov 2006 18:52:22 GMT
    [ ] 
Hoss Man commented on LUCENE-727:

Per robert engels on java-dev...

> This is a known JDK issue with memory mapping a file.
> The references may not be GC'd at the time the request to delete is
> performed, and thus you will get an IOException.
> See it may not be possible to fix this.

> MMapDirectory can't create new index on Windows
> -----------------------------------------------
>                 Key: LUCENE-727
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.0.0
>         Environment: Windows XP, JDK 1.4
>            Reporter: benson margulies
>         Attachments: lucenewindowsmmaptest.tgz
> When I set the system property to request the use of the mmap directory, and start building
a large index, the process dies with an IOException trying to delete a file. Apparently, Lucene
isn't closing down the memory map before deleting the file.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message