Re: Pagefile use increase when repeatedly executing programs
- From: John John <audetweld@xxxxxxxxxxx>
- Date: Tue, 05 Dec 2006 14:05:05 -0400
Maybe this can help:
Using Performance Monitor to Identify a Pool Leak
http://support.microsoft.com/kb/130926/EN-US/
John
Bas wrote:
Hi John, thanks for your help. I analysed the developments using perfmon (and memtriage) which give some insight in the numbers. It makes clear that system resources disappear when repeadetly executing a program, but I cannot find a specific process responsible. There are quite some changes in the kernel level as well, but that too deep in computer stuff for me.
The problem is not related to a specific software (altough I discovered it using matlab) so contacting a verdor is rather useless, unfortunately. If a run a batch file for xcopy.exe it also leads to the same problems.
Bas
"John John" wrote:
John John wrote:
Bas wrote:
I’m doing some modeling analysis and use a batch file that executes a program for an enormous amount of times (> 10000). I came in trouble as my pagefile use steadily increases, until the system resources become scarce at a pagefile use of about 600MB and the system basically crashes. Each program that I want to execute after that gives the message "The application failed to initialize properly (0xc0000142). Click on OK to terminate the application."
Testing lead me to the conclusion that the problem was related to repeatedly executing a program, as repeating an xcopy operation (which has nothing to do with the modeling languages I use) for many times also lead to rapidly increasing pagefile use and a system crash.
I have tried many solutions: I’ve got all updates, increased the pagefile size, moved it to another disk partition, switched of virus scanner, updated my computer bios, defragmented memory and pagefile, but still I’m in trouble.
Has any of you ever heard of a problem in XP Professional with rapidly increasing pagefile use when repeatedly executing a program? I would be very happy to find a solution.
Bas
Contact the application vendor. By the looks of it I would say that their application is not releasing memory from the non paged pool, that creates a pool leak, aka a memory leak. That causes a memory shortage because space occupied by the pool is not available for other applications when they start, it causes them to rely on an increasingly smaller amount of available memory from the finite non paged pool and forces them to make extensive use of the page file.
You could confirm that by doing a perfmon on the Nonpaged Pool objects and monitor what happens when you start and shutdown the application, from there you will see if the Nonpaged Pool Bytes keep on increasing. The Nonpaged Pool size should increase when the application is started, when you exit the application the nonpaged pool should return to its original size.
John
PS. I think I might have been half asleep when I thought this out this morning. If you see nothing amiss in the Nonpaged Pool then monitor the Paged Pool bytes.
John
.
- Follow-Ups:
- References:
- Prev by Date: Re: LNK2001 (unresolved external symbol) on ReadGlobalPwrPolicy
- Next by Date: Re: Help.. Running out of hard drive room
- Previous by thread: Re: Pagefile use increase when repeatedly executing programs
- Next by thread: Re: Pagefile use increase when repeatedly executing programs
- Index(es):
Relevant Pages
|
Loading