-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Cannot memory map with offset under Win7 #7080
Comments
I suspect on windows you need to call |
I've been noticing this in a few packages (JuliaIO/HDF5.jl#89 for example), so thanks for reducing it! How would mmap'ing a closed file work?
|
Maybe if you insert the |
Does not appear to fix things - different error though, |
Maybe windows doesn't support mmap if the file position is non-zero? Try |
That looks more promising. |
I wonder if any multiple of the pagesize works. One could change the code to extract the current position, |
I tested two things:
|
@timholy's suggestion sounds worth trying. If I wasn't about to leave for a conference for the rest of the week I'd take a crack at it. |
Ah, looks like #6203 has a suggested implementation of something similar, I'll give the code there a try |
I tried to run the following mmap_array example and it doesn't work as it throws an error when calling mmap_array under Win7.
The text was updated successfully, but these errors were encountered: