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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Finding memory leaks.

  • 06-06-2008 10:51am
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 391 ✭✭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,088 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, Registered Users 2 Posts: 6,463 ✭✭✭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