Questions tagged [perfview]

PerfView performance tool for .NET developers by Microsoft

PerfView enables you to identify the performance hotspots in your app and enables you to quickly determine the code that needs to be updated to mitigate the hotspots. You can use PerfView to investigate .NET Framework (all versions), C++, or JavaScript apps. It also supports investigating performance issues in Windows Store apps.

MSDN blog post: Improving Your App's Performance with PerfView

69 questions
1
vote
0 answers

ETW Manifest files - finding more information on the values?

I'm troubleshooting the windows Networking stack and using Perfview/ETW to do it. I'm particularly interested in some values that appear in the manifest for the event source Microsoft-Windows-TCPIP. I can get the manifest with no problem using…
g0pher
  • 59
  • 8
1
vote
1 answer

ETW hierarchical activity IDs only working when PerfView is collecting at the same time

After trying to get ETW activity tracking working in my project for quite a while without much success, I figured I should take a step back and see if the demo project by Microsoft, available on this page was working for me. Unfortunately, it wasn't…
Yuk
  • 101
  • 1
  • 3
  • 7
1
vote
0 answers

OutOfMemoryException while collecting memory data in PerfView

I'm doing a memory leak investigation using PerfView and I'm following this and this videos. However, the server I'm investigating has already taken ~100% of memory, so when I try dump GC heap I get an OutOfMemoryException and the dump file isn't…
Alex Sikilinda
  • 2,928
  • 18
  • 34
1
vote
0 answers

Viewing EventSource activity duration in Windows Performance Analyzer

I've been playing around with ETW and some custom events based on System.Diagnostics.Tracing.EventSource. It's all working nicely with the TPL, meaning I'm getting correlated activities even across different threads - all very nice. I am using…
cristobalito
  • 4,192
  • 1
  • 29
  • 41
1
vote
1 answer

PerfView: Opening GC Heap Net Mem Stats taking forever

I've got relatively small etl files (100MB taken together), but when I click on GC Heap Net Mem Stacks, and wait a long time (10 minutes +), it never comes back from 'gray state'. Any ideas if this is 'normal' or not?
Benjol
  • 63,995
  • 54
  • 186
  • 268
1
vote
1 answer

ASP.Net web-app Mem-leak investigation

Advice is needed with investigating performance issues at the website running on Asp.Net 4.0. A little background on the website: The website is a webshop built upon an e-Commerce framework, which has proven itself stable and reliable on many…
Trogvar
  • 856
  • 6
  • 17
0
votes
1 answer

[Exception Occurred: System.Runtime.InteropServices.COMException (0x80070296): Exception from HRESULT: 0x80070296

When I'm running prefview tool (https://github.com/microsoft/perfview) in the windows container, I encounter this exception: [Exception Occurred: System.Runtime.InteropServices.COMException (0x80070296): Exception from HRESULT: 0x80070296 at…
0
votes
0 answers

Perfview - Memory Dump - NoPtrs

I need to investigate a memory leak or at least a constant increase of the memory on the server. So I took multiple memory dumps and I see a very big sized object in the Gen1 Objects but it tells me NoPtrs. So does it mean that it is unreferenced…
Kapoue
  • 847
  • 2
  • 11
  • 15
0
votes
0 answers

Perfview command trigger being executed incorrectly on threshold

I am trying to get Perfview to execute when the W3WP service goes over 90% CPU. However it says 118.5? I am not sure where the number comes from but my CPU hasnt been above 20%.
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
0
votes
1 answer

PerfView showing thousands of random FileOpenOrCreate during thread exhaustion

Does anyone know why I am getting thousands of calls to FileOpenOrCreate looking for random .cshtml and .vbhtml files using PerfView and the Processes / Files / Registry stacks section of a collection?
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
0
votes
0 answers

Lots of CPU time on Task.ContinueWith?

I'm CPU profiling a .NET Framework WebServer using PerfView and I noticed a lot of CPU time directly on System.Threading.Tasks.Task.ContinueWith. What does it mean? Should I worry about it? Name OTHER…
0
votes
0 answers

Find most called methods using Perfview

Is there a way to find the method calls count using Perfview tool (i.e info on how many times each method was called during the profiling period)? I remember seeing similar functionality in JetBrains' DotTrace, but am not sure if it exists in…
Alex Shelemin
  • 3,157
  • 1
  • 16
  • 16
0
votes
0 answers

ASP.NET site memory use up to 99% if IIS app pool NOT enable 32-bit applications

We have a ASP.NET MVC3 site on a 8GB memory Windows server 2019, when I enable 32bit applications on of IIS app pool, the site running well, cpu and memory use(about 300MB) of w3wp.exe also low and noraml. But if I disable 32bit applications of IIS…
Sven
  • 79
  • 10
0
votes
0 answers

Why Perfview doesn't display provider name, event name and message?

We are generating some etw log files for our application. I use Perfview to read the .etl files. Some times Perfview shows events like the below screenshot. It does not show the proper provider name/event name and the message. Instead I can see the…
0
votes
0 answers

What does "exit code 1" means in PerfView?

I try to take a heap snapshot of given process in PerfView. I selected file on disk with 144GB free space, at the time of the taking snapshot the process was reported to take 3GB of RAM and I selected to use Microsoft symbols. After some time of…
astrowalker
  • 3,123
  • 3
  • 21
  • 40