Results 1 to 5 of 5

Thread: Creating memory dumps

  1. #1
    Join Date
    Jan 2009
    Posts
    61

    Creating memory dumps

    i am using windows xp sp2 but recently my pc is not working properly its slow for some application the application that is having some issues,application is hanging or crashing so the entire computer is misbehaving some one told me to create a memory dump as solution can any body tell me is that good for me and how can i do that ?
    thank you .

  2. #2
    Dr. V Guest

    Re: Creating memory dumps

    Many debuggers have support for creating (or opening) memory dumps, including Visual Studio 2005. However, because of the size of Visual Studio and license requirements, I will discuss the use of the freely downloadable debugging tools that Microsoft provides - Debugging Tools for Windows. Make sure you install the correct version for you processor architecture (x86 vs x64).

  3. #3
    Join Date
    May 2008
    Posts
    2,680

    Re: Creating memory dumps

    Memory dump from an application/process that is HANGING (not crashing):

    1. Create a directory called c:\adplus

    2. Open a command prompt and change to the directory where you installed the debugging tools. By default, this is "C:\Program Files\Debugging Tools for Windows"

    3. Type the following command in the command prompt:
    cscript adplus.vbs -hang -pn appname -quiet -o c:\adplus (where "appname" is the .exe name of the application that is hanging)

    4. Once the debugger has finished (this can take some time), the command prompt window(s) will close, and you will have data in your C:\adplus folder that can be analyzed.

  4. #4
    Join Date
    Apr 2008
    Posts
    3,295

    Re: Creating memory dumps

    Memory dump from an application/process that is CRASHING (not hanging):

    1. Create a directory called c:\adplus

    2. Open a command prompt and change to the directory where you installed the debugging tools. By default, this is "C:\Program Files\Debugging Tools for Windows"

    3. Type the following command in the command prompt:
    cscript adplus.vbs -crash -pn appname -quiet -o c:\adplus (where "appname" is the .exe name of the application that is crashing)

    4. Once the debugger has finished (this can take some time), the command prompt window(s) will close, and you will have data in your C:\adplus folder that can be analyzed.

  5. #5
    Join Date
    Nov 2005
    Posts
    3,026

    Re: Creating memory dumps

    Memory dump of the entire system

    This section covers how to get a memory dump of your entire system.

    1. Create or set the following registry value:
    Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
    Value: CrashOnCtrlScroll
    Type: REG_DWORD
    Data: 1
    2. Right-Click on the "My Computer" icon on the desktop and select "Properties", then click the "Advanced tab. On the "Advanced" tab, click "Settings" under the "Performance" header. Click the "Advanced" tab, then click "Change" under "Virtual Memory". Set the pagefile to be located on the partition where the OS is installed, and set it to be equal to Physical RAM + 50 MB.
    3. Also in the "System Properties" window on the "Advanced" tab, click the "Settings" buttun under the "Startup and Recovery" header. Make sure "Complete Memory Dump" is selected (see 3a if this is not in the list). You can change the location of the memory dump file to a different local partition if you do not have enough room on the partition where the OS is installed.
    Note: If the "Complete Memory Dump" option in step 3 is not available, you will need to manually set this registry value:
    Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl
    Value: CrashDumpEnabled
    Type: REG_DWORD
    Value: 1
    4. You will need to reboot for these changes to take effect.
    5. The next time that the system is exhibiting the problem you were asked to dump the machine for, hold down the RIGHT CTRL key and press the SCROLL LOCK key twice to cause the machine to bugcheck and create a memory dump. After the box comes back up, you'll find the resulting memory dump file in %systemroot%\memory.dmp that can be analyzed.

Similar Threads

  1. Apple dumps Flash from Mac OS X
    By Cortezz in forum Portable Devices
    Replies: 5
    Last Post: 23-10-2010, 08:48 AM
  2. Will it help to have extra memory by creating new user account?
    By abhi123tri in forum Operating Systems
    Replies: 2
    Last Post: 14-06-2010, 10:17 PM
  3. How to Debug Memory Dumps
    By Elijah2010 in forum Windows Software
    Replies: 6
    Last Post: 31-03-2010, 09:40 AM
  4. Crash Dumps like crazy!
    By counselor in forum Windows Vista Performance
    Replies: 3
    Last Post: 11-10-2009, 07:51 AM
  5. MEMORY DUMPS, Stop: 0x000000008E, BSOD
    By Arlo1 in forum Windows XP Support
    Replies: 4
    Last Post: 09-04-2007, 09:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,386,363.02496 seconds with 16 queries