I have a server 2008 box with 32GB RAM on and i have been investigating why it runs out of memory every 150 ish days. Task manager shows that we are running at 99% memory usage but all the processes dont add up.
When I look in RamMap there is literally millions of the same application showing using 4K RAM. I understand that Windows Caches some settings in RAM after the application closes so that the application can start quickly but my question is why does it have multiple instances of the PID? Surely caching the settings once per application is sufficient? every time the app restarts it creates another process.
The problem was caused by a watchdog monitoring the application twice causing it to start the application twice and make the other crash. Now i just want to understand the bit about the memory allocation and if there is a way to prevent this happening again?