Search:

Type: Posts; User: Barry-TotalView-Tech

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. My report is out-of-date. What do I do?

    MemoryScape can only generate report information for a process if it is stopped. For example, if you restart your program, the information in the report doesn't change.

    MemoryScape always waits...
  2. Replies
    0
    Views
    9,175

    How do I visualize the Heap?

    MemoryScape display's a process's heap visually. To obtain this display, select the Memory Reports | Heap Status tab, then click on the Heap Graphical Report link.


    <p>If you want leaks to be...
  3. Replies
    0
    Views
    11,365

    What is a backtrace?

    When your program executes, the computer's runtime system places all of the information for a routine on the stack. The information for each routine is called a stack frame. When a routine calls...
  4. How do I tell MemoryScape to tell me when events and errors occur?

    MemoryScape tracks all of your program's allocations, deallocations, and reallocations. Some of these actions are expected. These actions are called events Others, such as a double free, are...
  5. What do I do when MemoryScape stops execution because an event or error occurred

    MemoryScape stops execution either because you told it to or because it has detected that an error is about to occur. What MemoryScape displays depends upon which screen your are viewing. However,...
  6. What information does MemoryScape record for a memory block?

    Whenever your program allocates, deallocates, or reallocates a memory block, MemoryScape records information about it. Some of this information is: The backtrace that existed when the block was...
  7. Can MemoryScape tell me when a memory block is deallocated?

    See our tip on what information is available for a memory block.
  8. How can I compare memory information as my program executes?

    You can compare memory states in two ways: You can compare the existing memory state against a previously saved memory state.
    You can compare two previously saved memory states.MemoryScape can...
  9. How do I save MemoryScape reports?

    You can save most memory reports to disk either as text or as HTML. If you can write it, you'll see the Save Report command on the right side of the screen. We recommend that you write it as HTML....
  10. How to I save information that MemoryScape acquires? (And why should I save it?)

    Saving memory states periodically and often is one of the most significant activities that you can perform using MemoryScape. Because fixing memory problems is tricky, you need a way to tell if you...
  11. Can MemoryScape let me know when my program corrupts memory?

    After your program allocates memory, you must make sure that it does not write data outside the allocated block. MemoryScape can help you detect these kinds of problems by surrounding memory...
  12. I know my program is corrupting memory. Why isn't MemoryScape showing me this information?

    MemoryScape doesn't create guard blocks unless you tell it to. Enable them by selecting <b>Medium</b> on the <b>Memory Debugging Options</b> screen.
  13. What happens when my program crashes?

    In almost all cases, MemoryScape stops execution before the program actually exits. Because the program hasn't yet existed, all the state information that MemoryScape collects is still available....
  14. Replies
    0
    Views
    8,788

    What is filtering?

    The amount of information that MemoryScape displays when you ask for Leak Detection or Heap Status reports can be considerable. In addition, this information includes memory blocks allocated within...
  15. Why should I set an allocation focus?

    The backtraces that MemoryScape displays are the one sthat existed when your program allocated the memory block. It also highlights the stack frame that it thinks is the one you should be focusing...
  16. My process exited and I can no longer create reports for it. Why?

    When a process exits, the MemoryScape agent deletes all the state information associated with that process. <p>By default, MemoryScape stops execution right before your program executes its...
  17. How do I run MemoryScape in batch mode?

    Do this using the <b>memscript</b> command. This command invokes MemoryScape in a non-interactive or batch mode. That is, MemoryScape performs its actions non-interactively. You will be able to tell...
  18. How can I tell how much memory my program is using?

    MemoryScape provides this information in two ways: you can see heap information as your program executes or you can display a report.
    The interactive display is on the Home | Summary screen.

    ...
  19. Can MemoryScape help me with memory problems for my multi-threaded and multi-process programs?

    Yes. And there is nothing special that you need do. MemoryScape understands when your program invokes other threads and other processes. It then automatically attaches to them. After it attaches, you...
  20. Why is using realloc() frowned upon?

    It's frowned upon because it can create unanticipated problems. When a variable's memory is reallocated, the malloc library can either extend the current memory block or it can create a new block and...
  21. Replies
    0
    Views
    7,849

    What is interposition?

    Said very simply, "interposition" means "get in the middle."

    More precisely, MemoryScape intercepts calls made by your program to heap library functions that allocate and deallocate memory by...
  22. I've loaded three programs and I want to run them individually. Pressing the run button runs all of them. What can I do?

    <p>In most places, when you see a run command, MemoryScape runs all of the programs and processes. However, if you go to the <b>Manage Processes | Manage Processes and Files</b> screen, you can...
  23. My program has arguments. How do I tell MemoryScape about them?

    <p>At the end of the command that you use to invoke MemoryScape, add a <b>-a</b> command-line option. Next, type your arguments after the <b>-a</b>. For example:<pre>
    memscape my_program -a...
  24. How do I set up my program for memory debugging?

    Simply add -g to the command you use to compile your program.

    MemoryScape is non-invasive, which means it doesn't add code to your program. More importantly, you do not have to add calls to...
  25. Replies
    0
    Views
    3,988

    What does MemoryScape do?

    <p>MemoryScape is an interactive memory debugger that lets you see how your program is using memory as your program executes. It can also provide post-mortem reports using it's batch system.
    <p>Here...
Results 1 to 25 of 27
Page 1 of 2 1 2