Get installer to do smaller disk writes
Writes of large blocks of memory can cause kernel address-space pressure which can be fatal on 32-bit Windows. Yes, we still have some customers using 32-bit Windows. This change updates PEResource::WriteToDisk to write a maximum of 8 MiB at a time. This should not affect performance and will avoid failures. This change also updates the mini_installer copy of this file to use nullptr for consistency. Bug: 1001022 Change-Id: Icca3122a7decc7ce6ce89cc742c988d68737ff28 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1793531 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Reviewed-by:Sorin Jianu <sorin@chromium.org> Reviewed-by:
Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#695755}
Showing
Please register or sign in to comment