CMD.EXE failed to initialize

P

Pekka

Windows 2000 Server SP4
This machine has several (30+) batch-jobs runing scheduled from MS Task Mgr.

Situation:
The server freezes and becomes unresponsive.
Any time of day.

I get several messages like this in the eventlog, leading up to the point of
system freeze.
Event ID: 26
Application popup: cmd.exe - Application Error : The application failed to
initialize properly (0xc0000142). Click on OK to terminate the application.

MS Knowledge Base article 824422 indicates that the "non interactive system
heap" may run out of resources.
I increased this value from 512 to 1024, a week ago. After this , the
frequency of freeze-situations has fallen. Allthough more seldom, it still
occures.

The RegKey "Windows" parameter "Shared Section" has 3 values. (current
value)
1. System wide heap (1024)
2. Per desktop heap (3072)
3. Non interactive desktop heap (1024) (increased from 512)

How high can I go on these values ?
Wich is the most relevant ?
Could I increase the 3. value to 2048 ?

Anybody
 
J

Jerold Schulman

Windows 2000 Server SP4
This machine has several (30+) batch-jobs runing scheduled from MS Task Mgr.

Situation:
The server freezes and becomes unresponsive.
Any time of day.

I get several messages like this in the eventlog, leading up to the point of
system freeze.
Event ID: 26
Application popup: cmd.exe - Application Error : The application failed to
initialize properly (0xc0000142). Click on OK to terminate the application.

MS Knowledge Base article 824422 indicates that the "non interactive system
heap" may run out of resources.
I increased this value from 512 to 1024, a week ago. After this , the
frequency of freeze-situations has fallen. Allthough more seldom, it still
occures.

The RegKey "Windows" parameter "Shared Section" has 3 values. (current
value)
1. System wide heap (1024)
2. Per desktop heap (3072)
3. Non interactive desktop heap (1024) (increased from 512)

How high can I go on these values ?
Wich is the most relevant ?
Could I increase the 3. value to 2048 ?

Anybody

I would first try adding 512.
If that doesn't work, set the desktop heap from 3072 to 3584.

Finally. increase the third value to 2048.

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top