The information in this article applies to:
SYMPTOMS
There is a hard-coded limit on Windows 95/98 for a single heap allocation. This limit is 104 bytes shy of 256 MB.
STATUSThis behavior is by design. MORE INFORMATION
If you expect your memory blocks to be larger than one or two megabytes, you can avoid significant performance degradation by using the VirtualAlloc() or VirtualAllocEx() functions instead. When working with the heap functions, memory allocations are classified into the following three block size ranges:
The heap functions work well for allocations in this range. The heap functions work for allocations in this range, but they are not recommended due to poor performance. The heap functions do not support allocations above 255.9 MB. Additional query words: kbDSupport
Keywords : kbKernBase kbMemory |
Last Reviewed: April 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |