Discussion Locked

Memory Leak

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi All,

I have a Win2k SP4 server and I think there is a memory leak that causing problems on the server. In the event viewer, I have Event ID 2020: The server was unable to allocate from the system paged pool because the pool was empty.

When I restart the server, it runs smoothly for about 2 days and then I started getting the same errors.

So, here is my questions:
1) how do I figure out if I do have a memory leak? Is there a utility that can run to see if there is a memory leak?

2) if there is a memory leak, is there a way in which I can reset the memeory without having to restart the server?

Any advise would be greatly appreciated.

Thanks.

.:tk:.

7 replies

by blackcurrant

Hi

This is taken from Windows 2000 Performance Runing and Optimization by Gardinier and Amaris.

Use the System Monitor to watch every counter in the Memory object - particularly Pool Nonpaged Allocs, Pool Nonpaged Bytes, Pool Paged Allocs, Pool Paged Bytes, System Code Total Bytes and System Driver Total Bytes. If a memory leak exists one or more of these counters will continually rise because memory is not being returned.

Also monitor these: Objects:Threads and Objects:Sections - threads is No of active threads, and Section is an area of virtual memory. Both will increase if there is a leak.

This process will help you identify the presence of a memory leak.

Next:

http://support.microsoft.com/default.aspx?scid=kb;en-us;325558

http://support.microsoft.com/?kbid=130926

Good luck

by tang0312

Thanks. We were able to determine that there was a problem with the paged pool. There was a MS hotfix available. Since it has been installed, the server has been stable.

This discussion is closed to new replies.