This is a migrated thread and some comments may be shown as answers.

Memory

11 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bill O'Neil
Top achievements
Rank 1
Bill O'Neil asked on 05 Aug 2012, 06:30 PM
I'm new to Just Trace and profiling in this manner and general - but I'm trying to track down some odd memory usage in an ASP.NET Website project & I'm having difficulty.  I can run the Memory Profiler - and it gives me some potential leaks (Objects w/ small "own" size and large "retained" size) but when I examine them I have no way of telling where these objects originate.  "System.Object" is all I get.  Is there any way to extract more information or detail?

11 Answers, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 06 Aug 2012, 04:35 PM
Hello Bill,

Currently JustTrace detects all static fields as System.Object and does not show where the object were allocated. The next JustTrace release (Q3 2012) will have improvements:
  • it will be possible to see the allocation call site
  • it will be possible to see the field name which holds the object
  • it will show the GC root type - static field, thread stack, GC handle, pinned object, etc.

As an immediate solution I would suggest to create two snapshots and compare them. If you have knowledge about the app you can see if they are increasing objects of a given type and decide whether they are leaks or not.

Please don't hesitate to ask if you have further questions.

Greetings,
Mihail
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bill O'Neil
Top achievements
Rank 1
answered on 06 Aug 2012, 04:54 PM
It seems that:
  • it will be possible to see the allocation call site
  • it will be possible to see the field name which holds the object
would give me just what I need.  Does Just Trace ever release beta versions (like the .NET controls) - or are we looking at an "end of 2012" window for this functionality?

One additional (tangentially) related item - the global Just Trace stats - that give the "# of exceptions" - is there any way to drill down and see where those exceptions lie?

Thanks!
Bill
0
Mihail
Telerik team
answered on 07 Aug 2012, 07:31 AM
Hi Bill,

Thank you for your questions. JustTrace complies with the company policy to release so called "internal builds" on a regular basis. Actually the last internal build 2012.2.806.9 was released yesterday. We strive to release an internal build every two weeks.

I guess you are interested in the particular features we discussed in this thread. These features are planned for Q3 2012 which is scheduled for 17th of October. Probably they will be first available 2 or 3 internal builds (4 or 6 weeks) before the official Q3 2012 release.

As for the actual exception stack (the call stack where the exception is thrown) - many customers want this feature and it is already on our task list. We probably will ship it with Q3 2012 release.

Regards,
Mihail
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bill O'Neil
Top achievements
Rank 1
answered on 21 Sep 2012, 03:09 PM
Any of these items in the internal build yet?  Thanks!
Bill
0
Todor
Telerik team
answered on 25 Sep 2012, 02:36 PM
Hi Bill,

We are working on showing the member names and the feature should be available in one of our next internal builds.

As for the other features, they most probably will be pushed for after the 2012 Q3 release.

Regards,
Todor
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Bill O'Neil
Top achievements
Rank 1
answered on 23 Oct 2012, 01:43 PM
were any of these in the Q3 release?  Thanks!  Bill
0
Todor
Telerik team
answered on 23 Oct 2012, 02:31 PM
Yes, the Q3 release shows member names. Feel free to download it and check all the new goodies in it.

Kind regards,
Todor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bill O'Neil
Top achievements
Rank 1
answered on 02 Jun 2013, 05:29 PM
Just checking in - does JustTrace allow you to view the Exceptions shown?  I keep seeing Exceptions logged - even though I don't see any while using the app.  I'd love to figure out what Just Trace is seeing.
Thanks,
Bill-
0
Kaloyan
Telerik team
answered on 05 Jun 2013, 01:41 PM
Hi Bill O'Neil,

Thank you for contacting Telerik support.

With the current version of JustTrace, you can only see the number of all the exceptions thrown inside your program. I have attached a screenshot to show you this functionality.

On that screenshot, I have profiled JustTrace with JustTrace. As you can notice there are 399 exceptions thrown. These are all handled exceptions from the base class library along with the handled exceptions in JustTrace.

I hope this answers your question.

Further, would you like to see feature that shows/filters the handled exceptions in your program (excluding the ones thrown by the BCL) in JustTrace?

Regards,
Kaloyan
Telerik
Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
0
Bill O'Neil
Top achievements
Rank 1
answered on 05 Jun 2013, 02:05 PM
When you say:

These are all handled exceptions from the base class library along with the handled exceptions in JustTrace.

How do you know this?

And yes - I'd love something that would let you see the exceptions (and I think it was noted as a common request in the 8/7/12 message in this thread.)

Thanks!
Bill
0
Kaloyan
Telerik team
answered on 10 Jun 2013, 08:53 AM
Hello Bill O'Neil,

If an exception is not caught, it will crash your application. In my case, if there were any unhandled exceptions, a dialog box would have appeared (with the exact exception lead to the failure) and then my program would have crashed. That is why, I assume all of the exceptions shown, are somehow handled in the running code.

Unfortunately, we won`t be able to release such feature with the major JustTrace 2013 Q2 release this week. However, there is good chance for it, to be shipped with any of the upcoming Service Packs / Internal Builds during the next Q.

Regards,
Kaloyan
Telerik
Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
Tags
General Discussions
Asked by
Bill O'Neil
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Bill O'Neil
Top achievements
Rank 1
Todor
Telerik team
Kaloyan
Telerik team
Share this question
or