PRB: Windows 95/98 Heaps Have A 255.9 MB Allocation Ceiling
PSS ID Number: 198959
Article Last Modified on 5/12/2003
The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK), when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q198959
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.
This limit will apply to HeapAlloc() and any function that internally calls HeapAlloc(); including LocalAlloc(), GlobalAlloc(), and many implementations of
the C-runtime library's malloc() function.
STATUS
This behavior is by design.
Additional query words: kbDSupport
Keywords: kbKernBase kbMemory kbprb KB198959
Technology: kbAudDeveloper kbOSWin95 kbOSWin98 kbOSWinSearch kbSDKSearch kbWin32SDKSearch kbWin32sSearch