Re:I ported pigz from Unix to Windows
by malkia on Monday June 23, 2025 @07:37PM
(#44361336)
These VirtualAlloc's may intermittently fail if the pagefile is growing...
[ Parent
| on HN ]
Ah yeah, I see Firefox ran into that and added retries:
https://hacks.mozilla.org/2022/11/improving-firefox-stabilit...
Seems like a worthwhile change, though I'm not sure when I'll get around to it.
This is something you also need to do for other Win32 APIs, e.g. file write access may be temporarily blocked by anti-virus programs or whatever and not handling that makes unhappy users.