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 Usage of 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.
Windows 7 / Windows 8.1 / Windows Server 2008 / Windows Server 2012 (64-bit versions) / Windows 10
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 theTechnical Support to find out which memory dump is required.
Procedure for Windows 2000/2003 Server/XP
The instructions below 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 Manual 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)
User dump tool, Memory overwrite, Memory swell, Memory overflow, Crash, Memory dump, Dump