Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Finding memory leaks.

Options
  • 06-06-2008 11:51am
    #1
    Registered Users Posts: 427 ✭✭


    Hey
    I have memory leaks in a very large program. Can anyone suggest a decent profiling tool which I can use to spot them?
    Thanks


Comments

  • Registered Users Posts: 151 ✭✭viboy


    What language ?
    The below is based on my experience, with an extremely large c++ application.

    Rational / IBM Puirfy is excellent at this. Unlike some other tools it does not require wholesale changes to the source code. This is commerical. but not too costly.

    Under i386 linux valgrind seemed to be okay.


  • Registered Users Posts: 427 ✭✭Kevo


    Thanks for the reply.

    It's written in Java and unfortunately I am not able to spend any money. Any ideas?


  • Registered Users Posts: 390 ✭✭Dopey


    Hi Kevo,

    JProfiler is good at this although I've heard that YourKit is better.

    You can get trial licenses for both.

    http://www.ej-technologies.com/download/jprofiler/trial.php
    http://www.yourkit.com/download/

    Good luck.


  • Moderators, Science, Health & Environment Moderators Posts: 10,079 Mod ✭✭✭✭marco_polo


    Could try jvmstat from sun.

    http://java.sun.com/performance/jvmstat/

    It also comes as a module that can be integrated with Netbeans IDE.

    http://profiler.netbeans.org/


  • Registered Users Posts: 6,431 ✭✭✭run_Forrest_run


    JProfiler is quite good, you can download a 10 day evaluation version. Also if you are using Eclipse as your IDE it will install the necessary plugins for you.

    Also if you have any SWT widgets in your application you can use SLEAK for checking for widgets not disposed of.


  • Advertisement
Advertisement