How do you create a memory dump for diagnostics purposes in WinCC and PCS 7?
Procedure for Windows 7 and higher (Windows 7, Windows 8.1, Windows Server 2008, Windows Server 2008 R2 and Windows Server 2012 R2, Windows 10)
1 Installing the Microsoft Windows Software Development Kit (SDK)
1.1 Downloading and Installing the SDK
2 Starting and Parameterizing the adplus.exe Program
2.1 Configuring the adplus.exe Program
2.2 Starting the adplus.exe Program
3 Adding the adplus.exe Program to the Startup List of the WinCC Project
5 Enabling and Using the "gflags" Tool
6 Using ProcDump
- If the generated user dump or the file created by adplus has the size 0 KB, you have to change the page file of Windows. Detailed information is available from Microsoft under the article number 2860880. Another reason for this might also be a resource load problem.
- You can also create a memory dump later. However, this memory dump is a snapshot and does not include the sequence of events leading to the fault.
In Windows 7 and higher you create other user dumps later with the Windows Task Manager.
- Open the Task Manager:
- via Start > Run > Taskmgr.exe or
- by right-clicking the taskbar > Start Task Manager.
Open the "Processes" tab. Select the required process with a right-click.
In the pop-up menu that opens you select the "Create Dump File" function.
Creating the dump file.
Seeing as the WinCC processes are 32-bit processes you create a memory dump in the 32-bit format.
The 64-bit version of the Task Manager starts by default in the 64-bit versions of the operating system and therefore a memory dump is also created in the 64-bit format.
Proceed as follows to create a memory dump in the 32-bit format in the 64-bit versions of the operating system.
- Start the 32-bit version of the Task Manager via C:\Windows\SysWOW64\taskmgr.exe.
- Open the "Processes" tab. Select the required process with a right-click.
- In the pop-up menu that opens you select the "Create Dump File" function.
The dump file is created.
In any case you should always first get in touch with the Technical Support to find out which memory dump is required.
What diagnostics options are available for WinCC and PCS 7 OS? 48698507
Procedure for Windows 2000/2003 Server/XP
The following instructions are for installing and using the User Mode Process Dumper in WinCC and PCS 7. You can use this tool to create a memory dump of a process in the event of a fault. This memory dump can be useful for detailed diagnostics.
1 Installing and Using the "User Mode Process Dumper”
1.1 Manually Starting of the "User Mode Process Dumper"
1.2 Installing the "User Mode Process Dumper" for Automatic Monitoring
of a Process
1.3 Installing the "User Mode Process Dumper" with Hotkey
1.4 Uninstalling the "User Mode Process Dumper"
2 Enabling and Using the "gflags" Tool
2.1 Enabling the "gflags" Tool
Documentation (711.6 KB)
Have memory dumps created automatically by Windows
The following instructions describe how to set up Windows to automatically create a memory dump in the event of an error.
- Via "Control Panel", "System", you open the "Advanced Control Panel".
- Select the "Advanced" tab
- Open the settings for "Startup and Recovery"
- Under "Write debugging information" you select the corresponding memory dump in the pop-up menu
Different memory dumps are available for selection depending on the operating system.
You must restart Windows for the changes to take effect.
Windows creates the set memory dump in case of an error.
User dump tool, Memory overwrite, Memory swell, Memory overflow, Crash, Memory dump, Dump
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry