Skip to content
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

How to use Mio to read and write large files #85

Open
LoveChina-3000 opened this issue Apr 14, 2022 · 4 comments
Open

How to use Mio to read and write large files #85

LoveChina-3000 opened this issue Apr 14, 2022 · 4 comments

Comments

@LoveChina-3000
Copy link

Hi,May i ask a question? How to use Mio to read and write large files?Thank you

@spudwa
Copy link

spudwa commented Apr 14, 2022

How large? MB or GB or TB?

@LoveChina-3000
Copy link
Author

On a 32-bit computer, files larger than 8GB can be read and written. Is there any relevant example to refer to。Thank you

@LoveChina-3000
Copy link
Author

Hi, How to use mio to write a file which more than 8 GB. Thank you

@spudwa
Copy link

spudwa commented Aug 17, 2022

32bit windows has a memory limit of 2gb, while you are using NTFS limits. mmap needs to be able allocate contiguous virtual memory so it's not going to happen unless you move to 64bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants