-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should mmap=false
by default on Windows?
#84
Comments
This is typically not an issue, but enough people complained that I caved and made the default false. I think we could take the same approach in Feather. |
Actually mmapping also creates (more pernicious) problems on Linux, e.g. JuliaData/CSV.jl#180. |
In light of @nalimilan 's comment it definitely seems to me that it should be |
The problem is that users are not necessarily aware that the file is open, and they can't delete it nor replace it, which is very common (at least for CSV) when you do some modifications that you want to save. |
I was reading the CSV.jl documentation today and I noticed that they give a possible explanation for why
mmap=false
by default on Windows.It actually seems like a surprisingly reasonable behavior on the part of the windows file system (or is it? I'm assuming if you deleted the file before gc'ing in Linux you would not then get segfaults).
Anyway, since memory mapping is now a very important part of Feather.jl, is this really a good enough reason to disable memory mapping by default on Windows? Is there another issue that I'm missing?
The text was updated successfully, but these errors were encountered: