Top
Systemwalker Operation Manager Troubleshooting Guide
FUJITSU Software

5.2.16 The Job Ends Abnormally with Exception Code 0xC0000142 [Windows versions]

Applicable versions and levels

Action

Cause

If the application started by Systemwalker Operation Manager, or the processing to start an application that is started under that application, fails, the job ends abnormally with exception code 0xC0000142. 0xC0000142 means "Failed to initialize the DLL required to execute the application".

The cause of the failure to initialize the DLL required to execute the application may be that the desktop heap (an area managed by Windows) was depleted.

Note that the exception code 0x40000999 may be output at the same time as the exception code 0xC0000142.

Action method

Reduce the number of jobs executed simultaneously. Alternatively, adjust the desktop heap size.

When using Windows Server 2008 or later, refer to the manual indicated below and modify the registry to expand the desktop heap size.

In cases other than the above, the method used to adjust the desktop heap size is as follows:

Change the underlined part in the registry below.

Hive: HKEY_LOCAL_MACHINE
Key: \System\CurrentControlSet\Control\Session Manager\SubSystems
Value name: Windows
Parameters: %SystemRoot%\system32\csrss.exe - SharedSection=1024,3072,512

Do not change the registry if the following functions are being used by IIS:

Note

Refer to Microsoft Knowledge Base Article 126962 for information on how to change the registry to adjust the desktop heap size. Additionally, refer to Microsoft Knowledge Base - 184802 for information on the desktop heap.

The registry is an extremely important file in Windows. If mistakes are made when editing the registry, there is a risk that Windows may not start, or may have to be setup again, for example. For this reason, take sufficient care by backing up the system beforehand, or increasing or decreasing the size a little at a time, for example, when making changes.

The tuning method used to adjust the size will vary depending on the status of the following settings:

  • If Execute jobs under the respective job owner's authority is selected in the Options tab of the Define Operating Information window

    Decrease the value (underlined part) for the third item of SharedSection.

  • If Execute jobs under the respective job owner's authority is not selected in the Options tab of the Define Operating Information window

    Increase the value (underlined part) for the third item of SharedSection.