forked from java-native-access/jna
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the memory to 128MiB when trying to unpack rust (java-native-ac…
…cess#290) Motivation: We sometimes saw failures as we were not able to reserve enough memory to unpack the rust toolchain on windows. Like: ``` info: using up to 500.0 MiB of RAM to unpack components info: installing component 'rustfmt' info: installing component 'cargo' info: installing component 'rust-std' info: installing component 'rustc' memory allocation of 16777216 bytes failed Error: The process 'C:\Rust\.cargo\bin\rustup.exe' failed with exit code 3221226505 ``` Modifications: Set env to limit to 128MiB Result: More stable builds on windows
- Loading branch information
1 parent
6a49309
commit 511cbdd
Showing
4 changed files
with
16 additions
and
0 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