Bug 42708



6.6.3, 6.6.2, 6.6.1, 6.6, 6.5.8,, 6.5.7, 6.5.6, 6.5.5, 6.5.4, 6.5.2, 6.5.1, 6.5, 6.3.1, 6.3, 6.1.x


Excessive #mfcGcPageBufSize causes ALL data to be removed

If you run markForCollection with an extremely oversized #mfcGcPageBufSize,
ALL data in your repository is removed.  The specific example observed
was an accidental test with a #mfcGcPageBufSize value of 8000000, which
is not in any sense a reasonable value; since this is in pages, this represents
65GB, not including other memory requirements for MFC.

Most excessively large #mfcGcPageBufSize values result in malloc() errors,
but due to the Integer rollover there is a range in which this error can


If you experiment with unreasonably large #mfcGcPageBufSize values and
encounter this problem, you will need to restore from backup.

Last updated: 3/6/13