finding memory leaks

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ron Eggler

    finding memory leaks

    Hi,

    I co-wrote a project that apparently is suffering friom memory leakage. Now
    my task is to find and fix those.
    I'm developing using eclipse.
    Does anyone know the best possibility to find such leaks?
    I looked on the net and found different approaches but all seemed to be
    kinda difficult. Does anyone know a "quick & dirty" one?

    I'm using:
    linux
    gcc 4.1.3
    eclipse 3.2.2
    cdt 3.1.2

    Thank you!
    --
    chEErs roN
  • Daniel Kraft

    #2
    Re: finding memory leaks

    Ron Eggler wrote:
    I co-wrote a project that apparently is suffering friom memory leakage. Now
    my task is to find and fix those.
    I'm developing using eclipse.
    Does anyone know the best possibility to find such leaks?
    I looked on the net and found different approaches but all seemed to be
    kinda difficult. Does anyone know a "quick & dirty" one?
    >
    I'm using:
    linux
    gcc 4.1.3
    eclipse 3.2.2
    cdt 3.1.2
    I'm not sure how "anyone" does it, but I'd use valgrind and I expect
    this to be a rather effective method as far as you are willing to work a
    bit on the command line.

    But I'm not quite sure this question is on topic in comp.lang.c++

    Daniel

    --
    Done: Bar-Sam-Val-Wiz, Dwa-Elf-Hum-Orc, Cha-Law, Fem-Mal
    Underway: Ran-Gno-Neu-Fem
    To go: Arc-Cav-Hea-Kni-Mon-Pri-Rog-Tou

    Comment

    • Ron Eggler

      #3
      Re: finding memory leaks

      Daniel Kraft wrote:
      Ron Eggler wrote:
      >I co-wrote a project that apparently is suffering friom memory leakage.
      >Now my task is to find and fix those.
      >I'm developing using eclipse.
      >Does anyone know the best possibility to find such leaks?
      >I looked on the net and found different approaches but all seemed to be
      >kinda difficult. Does anyone know a "quick & dirty" one?
      >>
      >I'm using:
      >linux
      >gcc 4.1.3
      >eclipse 3.2.2
      >cdt 3.1.2
      >
      I'm not sure how "anyone" does it, but I'd use valgrind and I expect
      this to be a rather effective method as far as you are willing to work a
      bit on the command line.
      Thank you Daniel,
      valgrind I will have a look at that.
      I for sure aam willing to work on the command line.
      But I'm not quite sure this question is on topic in comp.lang.c++
      I wasn't sure where to post it so i thought i'd try it here.
      Thanks for your response!
      --
      chEErs roN

      Comment

      Working...