Monday, July 10, 2006

Troubleshooting memory issues.

If private bytes continue to grow without leveling off, then you probably have a private bytes leak.

If private bytes levels off while while virtual bytes continue to grow then you probably have a virtual memory leak or fragmentation.

If the committed bytes counter follows the virtual bytes counter, then you probably have a virtual bytes leak.

If the virtual bytes grow at a faster rate than committed bytes, then you will need to verify if this is virtual memory fragmentation.

NOTE: Virtual memory leaks where the caller is committing memory will also cause private bytes to grow. Hence privates bytes could increase due to both NT heap leaks or virtual memory leaks.