[SMSS] When determining page file size, keep more free disk space. CORE-6839

64 MB used to be enough to at least finish 2nd stage, but that does not
always seem to be the case anymore. Leaving this little free space does
not make for a good user experience either way.
256 MB is still not much, but at least provides slightly more usability.
This commit is contained in:
Thomas Faber 2019-11-10 16:13:45 +01:00
parent 305035be7d
commit 5d85d534e0
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -23,7 +23,7 @@
#define MEGABYTE 0x100000UL
#define MAXIMUM_PAGEFILE_SIZE (4095 * MEGABYTE)
/* This should be 32 MB, but we need more than that for 2nd stage setup */
#define MINIMUM_TO_KEEP_FREE (64 * MEGABYTE)
#define MINIMUM_TO_KEEP_FREE (256 * MEGABYTE)
#define FUZZ_FACTOR (16 * MEGABYTE)
//