×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    [moved] Carbide 1.3.1 searching for memory leaks

    Hello

    Could you paste me here some links or good books where i could read about searching for memory leaks in application using TRK with carbide debugger?

    Thanks in advance

    Nuker

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: [moved] Carbide 1.3.1 searching for memory leaks

    Sorry but i donot think there is any resource available for memory leaks on device.

    But you can find docs for emulator memory-leak check, search for Hooklogger in SDK help and Wiki or http://www.newlc.com/Hooklogger-Trac...aked-heap.html

  3. #3
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: [moved] Carbide 1.3.1 searching for memory leaks

    For past few months, i have used hooklogger and in my opinion its one of the easiest way to find memory leak.

  4. #4
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: [moved] Carbide 1.3.1 searching for memory leaks

    Thanks for being interested in my post.

    How about libs which are not part of SDK. It s not possible to launch them on emulator because they are not for WINSCW.
    Is there any way to check memory leaks while I am using them?

    Thanks in advance

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: [moved] Carbide 1.3.1 searching for memory leaks

    Quote Originally Posted by nuker85 View Post
    How about libs which are not part of SDK. It s not possible to launch them on emulator because they are not for WINSCW.
    Is there any way to check memory leaks while I am using them?
    Not really. For running on the emulator you have to bypass/replace somehow the given libraries (like loading a bitmap instead of capturing an image with the camera, etc.). Possibility of that largely depends on the given libraries, what they are doing, etc.

    You can track your memory usage via User::Available, User::CountAllocCells, but they do not really help in locating a leak if there is any.

  6. #6
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: [moved] Carbide 1.3.1 searching for memory leaks

    so are you having some memory leak or you just want to test your application against memory leak on device? It can be a pain finding memory leak on device.

  7. #7
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: [moved] Carbide 1.3.1 searching for memory leaks

    Thanks for replays,
    I want to check for memory leaks in my application to avoid any.
    i ll try to use hooklogger.

    Thanks

    Nuker

Similar Threads

  1. [moved] what's with carbide 1.3.1?
    By ed_welch in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-08-15, 08:37
  2. [moved] About Lauterbach integration with Carbide C++ IDE
    By rajkumar278 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-07-06, 22:37
  3. [moved] how to put a Check Box in Carbide c++
    By nital_shah in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-06-30, 10:11
  4. [moved] carbide v1.3 cannot work with rvct2.2...
    By lius1984 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-06-10, 14:59
  5. [moved] questions about Debug mode in Carbide C++
    By liuxingyu_best in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2008-05-25, 17:56

Posting Permissions

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