These days I’ve been dealing with a bug of my software which using lots of GDI objects, and I found when Paged Virtual is approximate with Paged Limit, my MFC app can’t display what it should be. Then I solved this problem by changeing CreateCompatableBitmap function to CreateDIBSection.
But what I need to know is what’s the relationship among Paged Physical, Paged Virtual & Paged Limit, Paged Limit seems not to be simply the sum of Paged Virtual and Physical, this has been really confusing.
According to the Windows Internals book
Memory: Pool Paged Resident Bytesperformance counter)Memory: Pool Paged Bytesperformance counter,MmPagedPoolPage(number of pages) kernel variable)MmSizeOfPagedPoolInByteskernel variable)Pushing the Limits of Windows: Paged and Nonpaged Pool by M. Russinovich