snapshot comparision

8 posts, 1 answers
  1. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 23 Jul 2012 Link to this post

    Hello,

    I have to snapshots and compared them, but I have differences which I don´t understand.

    It says, +3 instances, but at the moment are zero instances living. And in both snapshots I cannot find the the types.

    I attached 3 snapshot pictures to explain the  problem.

    ->In which folder do I find the saved snapshots and where can I upload the 2 snapshots for analysis for you??

  2. Todor
    Admin
    Todor avatar
    63 posts

    Posted 24 Jul 2012 Link to this post

    Hi Matthias,

    I am sorry that you have troubles using JustTrace.
    Can you please tell me which version of JustTrace you are using? You can check it by clicking on About Telerik JustTrace on the product's start page.

    All the best,
    Todor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 26 Jul 2012 Link to this post

    I use the newest version:

    Version Q2 2012 SP2 Build 2012.2.719.8

  5. Martin
    Admin
    Martin avatar
    29 posts

    Posted 30 Jul 2012 Link to this post

    Hello Matthias,

    Can you try looking for some of the missing classes (e.g. System.ServiceModel.Channels.HttpInput.WebResponseHttpInput) with the Show just my types checkbox switched off. If this doesn't help can you please send us the two snapshot files so we can dig deeper into the issue and find out what is going on. The saved snapshots are located in %LOCALAPPDATA%\Telerik\JustTrace\Snapshots (you can paste this path directly into Windows Explorer)

    Kind regards,
    Martin
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 01 Aug 2012 Link to this post

    Hi,

    you were right, this helped - I see now the type (System.ServiceModel.Channels.HttpInput.WebResponseHttpInput) 

    But why is this one of my types (it does not come out of our namespace) and all other type from System.ServiceModel.Channels.Http% are not my types. This is not clear to me???

    Also, why the comparision says I have zero instances living, but I got +3 three instances - This seems weird to me, or I´m not able to interpret the JC statistics and missunderstand them.

    I upload the snaptshots as support/bug ticket in out account for further analysis...

  7. Martin
    Admin
    Martin avatar
    29 posts

    Posted 01 Aug 2012 Link to this post

    Hello Matthias,

    Thank you for the snapshots you sent. They helped us understand what is causing the issue.

    What is considered as "my type" is defined through a check box against each assembly in the Assembly list view. We have a predefined list of BCL assemblies which are automatically selected as "not my types". In your case, the reason that some of the System.ServiceModel.Channels.HttpInput.* types are considered as user types is that they are defined in assemblies which were missing from our predefined list (namely System.ServiceModel.Extensions.dll and System.ServiceModel.PollingDuplex.dll). The System.ServiceModel.Channels.HttpInput.WebResponseHttpInput class on the other hand is defined in System.ServiceModel.dll, which is present in our list and thus it is automatically categorized as "not my type". We will add the missing assemblies to this predefined list and from the next internal build of JustTrace they will be correctly identified as non-user types.

    The Instances and Total Size columns in the snapshot comparison show the number of instances and their size in the base snapshot, while the Instances Diff and Total Size Diff -- the difference between the two snapshots. So in your case it means that in the first snapshot there were no instances of type System.ServiceModel.Channels.HttpInput.WebResponseHttpInput, while in the second one there were 3.

    I hope that this explains to you the observations you have made. If you have any further questions don't hesitate to ask!

    Kind regards,
    Martin
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 01 Aug 2012 Link to this post

    Hello Martin,

    okay, I understand now how it is meant, I was just missinterpreting the diff.
    I thought, this are the living instances (from the second snapshot) and not the base instances (from the first snapshot).
    But the descriptions are not 100% clear and could lead to misunderstandings like in my case.

    As an idea, you coud perhaps make it more clear by changing the column description to "base instance" or add another colum with the current "living instance", or "instance (before)" and "instance (after)".

    Thanks,
    Matthias
  9. Answer
    Martin
    Admin
    Martin avatar
    29 posts

    Posted 01 Aug 2012 Link to this post

    Hello,

    Yes, you are right about that. I will make the column headers clearer. The Instances (after) and Size (after) columns seem to be redundant when we have the Diff columns. And the diffs are more useful for sorting and analyzing which types have had the largest instances/memory allocations or deallocations between the two snapshots.

    To thank you for the suggestions and cooperation I have added some telerik points to your account.

    Best wishes,
    Martin
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner