Free Tools

This is a discussion on Free Tools within the Tech Board forums, part of the Community Boards category; Hey guys, Was just wondering you guys had heard of any Memory managment tools for windoes. Like Valgrind for Unix ...

  1. #1
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682

    Free Tools

    Hey guys,

    Was just wondering you guys had heard of any Memory managment tools for windoes. Like Valgrind for Unix platform.

    Thanks in Advance!

    ssharish
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  2. #2
    Registered User
    Join Date
    Oct 2007
    Posts
    20
    Coverity tool is good!

  3. #3
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,159
    Quote Originally Posted by pc_doctor View Post
    Coverity tool is good!
    1. Coverity is a static analyzer, not a memory debugger
    2. It costs like $15,000 a year (at least that's what we pay)

    We've been over this before... Really, there are no good free memory debuggers for Windows. All the good tools are commercial. IBM Rational Purify (not sure if "Rational" is even part of the name anymore) could be gotten for $500 or so, which is relatively cheap
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  4. #4
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682
    I've used both the tools which you guys mentioned, IBM Rational Purify and Coverity. Purify used to be a Telelogic tool and then bought over by IBM. But yeah it not freely available and Coverity, applied for a free trial, and guy from customer service from coverity called me to help out, and asking me the confidential information of the company which I really can’t speak about.

    It would have been so much easier if the project was developed on UNIX platform

    ~ssharish
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  5. #5
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,159
    Quote Originally Posted by ssharish2005 View Post
    It would have been so much easier if the project was developed on UNIX platform
    At work, from time to time we take our software and run it on a Linux machine using Valgrind and Wine. This is actually fairly well supported by the Valgrind folks.

    EDIT: Also, as far as I know the Coverity people don't FORCE you to tell them anything. Our software is entirely secret and they didn't ask any questions...
    Last edited by brewbuck; 12-07-2009 at 06:22 PM.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  6. #6
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    Insure is another static analyzer and DevPartner has some tools as well. I really do not like either of them due to the insane number of false positives.

    But you can do decent memory debugging via the debug CRT if you are using MSVC. The debug CRT will allow you to break on certain allocations, pinpoint which allocations are leaks (with some minor setup on your part), dump blocks of allocation to output, etc, etc.

  7. #7
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    At Sony we did WinXP/Linux/GameOS (PS3) coding and always do the bulk of the code as cross-platform. That way we can leverage tools like Valgrind on a proper platform and then if things went wonky on the other platforms the possibility space was by definition quite small since the platform-specific stuff was minimal....
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. free() doesn't seem to work...
    By AlienJedi in forum C Programming
    Replies: 10
    Last Post: 01-29-2008, 04:27 PM
  2. Free Store of memory
    By George2 in forum C++ Programming
    Replies: 6
    Last Post: 11-12-2007, 01:27 PM
  3. Help setting up OpenGL using Borland command line tools
    By Unregistered in forum Game Programming
    Replies: 2
    Last Post: 07-19-2002, 10:08 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21