-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support virtual memory usage on windows (#274)
* replace raw mmap usage with region crate By doing so we add windows as a platform with support for virtual memory. * add windows and macos to GitHub Actions testing CI pipeline * simplify GitHub Actions CI clippy pipeline * remove unused errno dependency * reallocate the virtual memory in ByteBuf::erase This is basically what the code before the PR has been doing. * try to fix virtual memory allocation problems for GitHub Actions on Windows * fix typo in GitHub Actions CI file * fix windows paging for GitHub Actions (trial 1) * improve safety note * use default values (defaulting to 8GB) * try to fix Windows GHA * try again to fix windows CI * fallback to Vec-based virtual memory for 32-bit platforms * next try at fixing pagefile for windows ... * and another try at fixing GHA windows pagefile sizes * run tests using virtual memory single threaded This is yet another attempt at fixing the windows GHA CI * remove #[inline] annotations as wished in the code review * remove even more #[inline] annotations as requested by review
- Loading branch information
Showing
4 changed files
with
90 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters