Tech Support > Microsoft Windows > Drivers > Re: Heap fragmentation and more
Re: Heap fragmentation and more
Posted by Tim Roberts on August 3rd, 2003


nospam <nospam@nospam.nospam> wrote:
If the blocks are all roughly the same size, heap fragmentation is not a
problem. It takes a somewhat pathological pattern to produce significant
fragmentation. For example, a mix of very large blocks, rather large
blocks, and small blocks can produce a heap in which you repeatedly create
holes that are too small for the large blocks.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Posted by Tim Roberts on August 5th, 2003


nospam <nospam@nospam.nospam> wrote:

Usually, yes. Whatever the ReadFile gives you, that's what you'll get.

Personally, I'd be tempted to do the latter until and unless there is some
indication that you have a problem...
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.


Similar Posts