-
Notifications
You must be signed in to change notification settings - Fork 43
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
LArrayNative.mmap on Win64 not working for files > 4 GB #74
Comments
I just realized it is an duplicate to... #58 The way I patch the current larray-mmap-0.4.1.jar (if someone needs a quick fixed version someday)
Thanks for sharing the whole project :) |
FWIW, in line 126 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The LArrayNative.mmap is not working for files > 4GB on windows 64 bit
I just spend way too many hours finding the problem crashing my jvm all of a sudden... So I want to document the problem here.
All you get back is the pointer therefore, in java, you are not aware of the mapping beeing smaller, till you violate memory access.
The C code uses the win32 int mapping also for the win64 bit version.
I will try to get it running.
the following should probably be long for the 64 bit case
highLen, lowLen, highOffset, lowOffset would need to be 64 bit.
The text was updated successfully, but these errors were encountered: