Search found 10 matches

by ngm
Wed Oct 16, 2013 6:14 pm
Forum: Using .NET Memory Profiler
Topic: Fragmentation Analysis
Replies: 10
Views: 19585

Re: Fragmentation Analysis

Andreas, Thank you for looking into it. I used profiler for last 7 days of my trial and it was beyond helpful. I tried Red Gates' profiler as well, while it's got nice UI, it's far behind yours in terms of in-depth memory analysis. I knew it's capable tool the moment Wintellect guys recommended it :...
by ngm
Wed Oct 09, 2013 5:07 am
Forum: Using .NET Memory Profiler
Topic: Fragmentation Analysis
Replies: 10
Views: 19585

Re: Fragmentation Analysis

GC #2 kicks in aggressively on the next request for 2 - 10 collections ultimately lowering memory sometimes to as low as 5 MB of both total and live but only 438 MB of largest allocatable block is left. Even if I take Gen #1 snapshot which will bring me back to 3 MB live and 3 MB total the largest a...
by ngm
Wed Oct 09, 2013 4:54 am
Forum: Using .NET Memory Profiler
Topic: Fragmentation Analysis
Replies: 10
Views: 19585

Re: Fragmentation Analysis

Peak snapshot is really nice feature indeed. If I can make nmpcore.exe take a peak snapshot that would be even better. As a side note, I have noticed that my application when opened for the first time (without serving any request where LOH byte arrays are involved) has breakdown like: Total bytes: 3...
by ngm
Tue Oct 08, 2013 8:56 pm
Forum: Using .NET Memory Profiler
Topic: Fragmentation Analysis
Replies: 10
Views: 19585

Re: Fragmentation Analysis

I'm using nmpcore.exe since the application with memory issues is running on client's site. Can I enable peak snapshot collection with it? I tried with the following arguments: nmpcore.exe /r /peaksnapshot+ /sf "C:\MemSessions\DumpSession.prfsession" /p "exepath" But I don't see Peak snapshot in a s...
by ngm
Tue Oct 08, 2013 5:50 pm
Forum: Using .NET Memory Profiler
Topic: Fragmentation Analysis
Replies: 10
Views: 19585

Re: Fragmentation Analysis

Andreas, Thank you so much for detailed explaination. When the document is closed all large instances becomes unreachable, but no full GC will be triggered to collect them. If you expect to recreate a new set of large instances, this should not be a problem. The runtime will perform a full GC when r...
by ngm
Tue Oct 08, 2013 12:21 am
Forum: Using .NET Memory Profiler
Topic: Fragmentation Analysis
Replies: 10
Views: 19585

Re: Fragmentation Analysis

Just to give you some numbers from profiler into perspective: Total bytes: 22 MB Live bytes: 16 MB Gen #0 GCs: 628 Gen #1 GCs: 531 Gen #2 GCs: 179 Physical Memory Total: 453 MB (562 MB with profiler data) Normal heap: 11 MB LOH Large heap: 753 KB Overhead/unused: 23 MB Unreachabe instances: 278 MB C...
by ngm
Mon Oct 07, 2013 3:17 pm
Forum: Using .NET Memory Profiler
Topic: Fragmentation Analysis
Replies: 10
Views: 19585

Fragmentation Analysis

Hello Andreas, I was getting familiar with profiler and it seems pretty capable to me. I've got question regarding memory fragmentation, what are best techniques to analyze it? What I figured so far is to look at real-time monitor while taking snapshots of Gen #0 and comparing Total bytes and Live b...
by ngm
Mon Sep 30, 2013 8:29 pm
Forum: Using .NET Memory Profiler
Topic: ClickOnce and .NET Memory Profiler
Replies: 4
Views: 9040

Re: ClickOnce and .NET Memory Profiler

Andreas,

That's what I did at the very beginning, then the application didn't load completely because it uses user.config settings it was unable to find when starting directly like this.

Anyway, I know my options now. Will try some workaround.

Thank you for assistance.

- ngm
by ngm
Mon Sep 30, 2013 12:02 am
Forum: Using .NET Memory Profiler
Topic: ClickOnce and .NET Memory Profiler
Replies: 4
Views: 9040

Re: ClickOnce and .NET Memory Profiler

Hello Andreas, No luck here. Our ClickOnce application starts with original *.exe process instead of AppLaunch.exe, that's probably because it works under full-trust. Although I extracted full application name from the *.appref-ms I was unable to start it via AppLaunch.exe: AppLaunch.exe /activate "...
by ngm
Thu Sep 26, 2013 4:12 pm
Forum: Using .NET Memory Profiler
Topic: ClickOnce and .NET Memory Profiler
Replies: 4
Views: 9040

ClickOnce and .NET Memory Profiler

Hello there,

I'm evaluating .NET Memory Profiler and I was wondering what are my options to profile ClickOnce application running in production. It's .NET 2.0 application.

Can I use NmpCore.exe, if so what would be the correct substitution for a path?

Thanks,

- ngm