Re: Pagefile use increase when repeatedly executing programs



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

.



Relevant Pages

  • Re: Pagefile use increase when repeatedly executing programs
    ... Using Performance Monitor to Identify a Pool Leak ... as my pagefile use steadily increases, ... scanner, updated my computer bios, defragmented memory and pagefile, ... You could confirm that by doing a perfmon on the Nonpaged Pool objects ...
    (microsoft.public.windowsxp.general)
  • Re: Pagefile use increase when repeatedly executing programs
    ... 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. ... Testing lead me to the conclusion that the problem was related to repeatedly executing a program, as repeating an xcopy operation for many times also lead to rapidly increasing pagefile use and a system crash. ... 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. ... 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. ...
    (microsoft.public.windowsxp.general)
  • Re: Pagefile use increase when repeatedly executing programs
    ... Hi John, thanks for your help. ... as my pagefile use steadily increases, ... scanner, updated my computer bios, defragmented memory and pagefile, ... You could confirm that by doing a perfmon on the Nonpaged Pool objects ...
    (microsoft.public.windowsxp.general)
  • Re: Event ID 2017
    ... or is probably caused by an application not releasing or re-allocating memory correctly. ... "The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations." ... Believiing it is a pagefile issue I have temporarly increase the size of my pagefile. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Pagefile use increase when repeatedly executing programs
    ... 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. ... 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. ... 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. ...
    (microsoft.public.windowsxp.general)

Loading