Re: Pagefile use increase when repeatedly executing programs
- From: John John <audetweld@xxxxxxxxxxx>
- Date: Fri, 01 Dec 2006 15:45:01 -0400
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:
- Re: Pagefile use increase when repeatedly executing programs
- From: John John
- Re: Pagefile use increase when repeatedly executing programs
- Prev by Date: Re: Internet Time tab not showing up on the clock??
- Next by Date: Re: A technical question about MS lincensing
- 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