Options

Source in memory profile mode

How can I view my source in memory profile mode? I can do this in performance more.

Comments

  • Options
    Firstly, make sure the Source Code view is enabled by choosing 'Source Code' in the 'View' Menu. The source code view will now show the source, or say 'There is no source code available for the allocation of this object'.

    To get a list of all objects allocated, click on the 'All Objects' view. One column is entitled 'Source file'. Some of the objects will be created by the .NET framework indirectly, so have no source file listed. Objects created by your code will have a source file, e.g. 'Form1.cs'.

    Click on an object with a source file allocated. The source code view will now be updated with the relevant source code, at the line that allocated that object.

    In the Help for ANTS Profiler, Tutorial 2 gives an example of memory profiling.

    I hope this solves the problem.
    Jason Crease
    Red Gate Software
Sign In or Register to comment.