Results 1 to 2 of 2

Thread: why memescape can't find memory leaks ?

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    8

    why memescape can't find memory leaks ?

    i program is following :

    main()
    {
    int *P ;

    *p= 12345;

    }


    this p pointer is not new memory,why memscape can't find it ?

  2. #2

    Re: [room502] why memescape can't find memory leaks ?

    Memory debugging ONLY see's newly allocated and de-allocated memory. If the program has not done a malloc, memscape, or TotalView's memory debugger will not know about it. At best, TotalView should tell you that 'p' is unallocated, but you don't quite have that view of variables inside memscape.

    Does that make sense?

    Regards,
    Pete Thompson
    TotalView Customer Services

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •