Questions tagged [ants]

ANTS is a propriety .NET memory profiler

ANTS is a propriety .NET memory profiler.

53 questions
12
votes
4 answers

Why would GetMessageW take up massive CPU usage in my WPF application?

I've got a serious head-scratcher on my hands here. I'm investigating performance issues with a WPF component in our application. Our .net application is very large, and almost entirely in windows forms. As part of a new initiative we rewrote one…
David Hay
  • 3,027
  • 2
  • 27
  • 29
8
votes
1 answer

Why does braces take time on C# code?

I am using Ants Performance Profiler 8.5 and when I saw the time each row of my code runs, I have noticed that the braces also take time. Here is an image, you can see at the left of the braces the time in milliseconds: Sometimes I get more time,…
Misha Zaslavsky
  • 8,414
  • 11
  • 70
  • 116
6
votes
1 answer

Attaching ants performance profiler to asp.net-mvc site fails

Currently my asp.net-mvc site makes the w3wp.exe process cpu run at 100%. I figured red-gate's ants profiler should be able to give me some clues as about where I should be looking. When I start a profiling session I can choose between IIS hosted-…
Boris Callens
  • 90,659
  • 85
  • 207
  • 305
5
votes
3 answers

"Operation could destabilize the runtime" when using ANTS profiler on a StructureMap application

We are recently upgraded a web/mvc application to use StrucutreMap 3.0.4 Now, when attempting to profile the application using RedGate Ant's profiler at the "Line Level Timings, All Methods with Source" or greater level, we get the following…
Dave
  • 1,068
  • 12
  • 26
4
votes
3 answers

What is Time and Hit Count in ANTS Profiler

I start to evaluate Red Gate's ANTS Profiler to profile my WPF application. I read through the online support/documentation and can't seem to find explanation for the basics (and I don't know why they are not in the documentation): In the profiler,…
KMC
  • 19,548
  • 58
  • 164
  • 253
4
votes
1 answer

ANTS 4 OMP abort error

I have downloaded the trial versions of ANTS and dotTrace profilers. When profiling in ANTS, at a certain point the program stops and I get this error in a Console window: system error(-2147467259): __kmp_setaffinity: SetThreadAffinityMask:…
geometrikal
  • 3,195
  • 2
  • 29
  • 40
3
votes
4 answers

How do I run a memory profiler on our test projects?

All, Something's wrong with our test project throwing OOM exceptions, and I suspect the problem is us. We're holding references somehow and memory is never being released. So, I'd like to run a memory profiler and see where this is…
Peter Seale
  • 4,835
  • 4
  • 37
  • 45
3
votes
0 answers

Google Chrome devtool : Issue with started at & queued at timing

In chrome 1st request Queued at 0.0 ms and stared at 1 ms but 2nd immediate request queued at 15 s and stared at 10 s. not able to understand why 2nd request start at 10 and Queued at 15 senter image description here where is 5 sec missing. plz help
3
votes
1 answer

EF6 Memory leak without any reason

It's been a while for me to find this issue but I am 100% sure that it's happening and at least on my machine. I was able to found out that just this small piece of code is causing of memory leaks, but still I have no idea why. for (int i = 0; i <…
Wiktor
  • 754
  • 1
  • 7
  • 24
3
votes
2 answers

Obtaining global roots from .NET programs

I recently started using the ANTS profiling tools for production work. Aside from being amazed by their awesomeness, I couldn't help but wonder how they work. For example, one of the most useful features lets you visualize the global roots of a…
J D
  • 48,105
  • 13
  • 171
  • 274
3
votes
0 answers

Generation 1 Heap Consuming Gigs of Memory as Free Space

We've had a long term issue with one of our products consuming GBs of memory when in production. We often get low memory warnings on the server, and finally today I finally had chance to sit down with a memory profiler and see where the memory is…
djdd87
  • 67,346
  • 27
  • 156
  • 195
3
votes
0 answers

disposing ObservableCollection from ViewModel

I have created a WPF viewmodel which have an ObservableCollection. The viewmodel is bound to usercontrol and the usercontrol is loaded in tabitem. When I am removing the user control form Tabitem. The viewmodel is getting disposed but the…
Arun
  • 365
  • 1
  • 5
  • 15
2
votes
0 answers

Where is an assembly being dynamically generated in this code?

My hybrid Excel Interop/EPPlus app for generating Excel spreadsheets runs progressively slower with each execution. In trying to ferret out the reason for this, I downloaded ANTS Memory Profiler and ran the app. ANTS MP tells me in its "Assemblies…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
2
votes
0 answers

Out of memory exception after a certain execution time but C# application private bytes aren't increasing

We've an application which writes records in a SQL Server CE (version 3.5) / (MySQL 5.7.11 community) database table [depending on the configuration] through the use of NHibernate (version 3.1.0.4000). The method which performs the save to the…
Carlo Arnaboldi
  • 363
  • 2
  • 15
2
votes
1 answer

Cant detect memory leak with ANTS memory profiler

I have a custom application that allows to open some custom models. If I open a model in the application, then open another model - memory isn't released from the first model. When I try to profile memory leak with profiler (ANTS memory profiler),…
user1104698
  • 111
  • 8
1
2 3 4