-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fatal: fetch-pack: invalid index-pack output (malloc failed) #4853
Comments
From another machine with Windows 10 Professional, these same commands on the same repository do not cause an error.
|
Hmm. Maybe experiment with something like this? [core]
packedGitLimit = 128m
packedGitWindowSize = 128m
[pack]
deltaCacheSize = 128m
packSizeLimit = 128m
windowMemory = 128m |
Thanks.
There is a large amount of output generated (few MB worth of text), possible we are triggering an msys2 bug, as output does not appear to be flushed by ansible until the end of the command. |
I think that is unlikely because there is no MSYS2 involved in It's strange that the |
I now suspect the root cause is a quota set by default in winrm https://learn.microsoft.com/en-us/windows/win32/winrm/quotas |
Two issues closed without any information or resolution.
Setup
Windows Server 2022 Datacenter 21H2 (64-bit)
defaults?
to the issue you're seeing?
We consistently see this error on Server 2022 in AWS, but not on in-house Server 2012 or on Windows 10 Professional machines, despite running the same command on the same repository.
It is likely that network bandwidth on this machine (an AWS cloud Virtual Machine instance) is greater than disk bandwidth, for in-house build servers this is not the case.
Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
CMDPowershell via ansibleansible.windows.win_command: git fetch --prune --all
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
What did you expect to occur after running these commands?
Git should fetch all branches (creating a reference repository)
What actually happened instead?
The following error is thrown
This is despite the system having 12GBytes of available memory (on a server Virtual Machine with 16GB RAM) in Windows Resource monitor. The detailed memory view shows "standby" 12740MB, "Free" 0MB. No errors are seen in Windows Event Viewer
URL to that repository to help us with testing?
This is a large internal repository hosted on Github Enterprize.
The Server is on an internal network, the URL cannot be shared.
The text was updated successfully, but these errors were encountered: