Search found 1000 matches

by Andreas Suurkuusk
Tue Jun 12, 2018 11:52 am
Forum: Using .NET Memory Profiler
Topic: Memory Profiler API
Replies: 5
Views: 194

Re: Memory Profiler API

It is not possible to retrieve the process id when starting the profiler as a separate process, but another option is to use the external profiler API to start the profiled process. Unfortunately, this API is the same API as the profiler itself uses and it may not be stable between versions. In part...
by Andreas Suurkuusk
Mon Jun 11, 2018 12:31 pm
Forum: Using .NET Memory Profiler
Topic: Memory Profiler API
Replies: 5
Views: 194

Re: Memory Profiler API

What process id are you looking for? The API is used within the profiled process, so the process id of this process can be retrieved using Process.GetCurrentProcess().Id. Are you profiling multiple processes? There are some minor differences between NmpCore and NetMemProfiler(Console),e..g. WPF clea...
by Andreas Suurkuusk
Thu Jun 07, 2018 8:36 pm
Forum: Using .NET Memory Profiler
Topic: Memory Profiler API
Replies: 5
Views: 194

Re: Memory Profiler API

Currently the .NET Memory Profiler API is not available when you attach to a process (the MemProfiler.IsProfiling property will return false as you noticed). When attaching to a process, the profiler will not get notifications about allocations and can therefore not provide information about the nu...
by Andreas Suurkuusk
Tue Jun 05, 2018 2:16 pm
Forum: Using .NET Memory Profiler
Topic: Garbage Collection in Memory Profiler ?
Replies: 1
Views: 147

Re: Garbage Collection in Memory Profiler ?

Yes, when you collect a snapshot, the profiler forces the .NET runtime to cleanup as much memory as possible (by performing multiple garbage collections, allowing finalizers to run, and trigger WPF cleanup when profiling a WPF application). This avoids presenting instances that are eligible for garb...
by Andreas Suurkuusk
Tue Jun 05, 2018 1:09 pm
Forum: General
Topic: Another 14 days for the trial
Replies: 50
Views: 72144

Re: Another 14 days for the trial

A registration key for a new trial has been sent to your e-mail.
by Andreas Suurkuusk
Thu May 17, 2018 1:23 pm
Forum: Using .NET Memory Profiler
Topic: Live Bytes vs Total Bytes in Graph
Replies: 2
Views: 280

Re: Live Bytes vs Total Bytes in Graph

It's not a bug. It is caused by an optimization in the profiler and the way live bytes data is presented in the real-time view. Collecting information about live instances is very time-consuming. The profiler has to analyse the full managed heap in order to determine which instances are actually rea...
by Andreas Suurkuusk
Mon May 07, 2018 2:29 pm
Forum: General
Topic: Memory Profiler 5.6 and 5.5 Pro license
Replies: 1
Views: 2375

Re: Memory Profiler 5.6 and 5.5 Pro license

If your support and upgrades subscription has not expired, you will get a free upgrade to .NET Memory Profiler 5.6 Professional. The registration name and key from your v5.5 license will just work. If the subscription has expired, you need to purchase a renewal or an upgrade (in your case "Upgrade f...
by Andreas Suurkuusk
Thu Apr 12, 2018 2:46 pm
Forum: Using .NET Memory Profiler
Topic: Native memory 'Other Data'
Replies: 2
Views: 448

Re: Native memory 'Other Data'

The native memory information collected by the resource tracker is presented as "Identified resources" in the "Native memory" view. Do you see any resources listed there? IdentifiedResources.png The resource tracker is not activated in the profiled process until the .NET runtime is loaded into the p...
by Andreas Suurkuusk
Wed Apr 11, 2018 1:17 pm
Forum: General
Topic: Performance profiler
Replies: 3
Views: 2604

Re: Performance profiler

We're working on it. We have considered to implement a performance profiler for many years, and now we have finally started. A performance profiler is planned to be one of the major new features in .NET Memory Profiler 6.0 (which will probably require a name change of the profiler).
by Andreas Suurkuusk
Wed Apr 11, 2018 1:13 pm
Forum: Using .NET Memory Profiler
Topic: NmpCore Tool
Replies: 4
Views: 460

Re: NmpCore Tool

Yes, I would recommend that you use NmpCore to attach to the process and create a session file, rather that creating memory dumps and import them. If you only collect a single snapshot from the session, it might be a good idea to use "inspection-only" attach. This performs a non-invasive attach, i.e...
by Andreas Suurkuusk
Wed Apr 11, 2018 1:00 pm
Forum: Using .NET Memory Profiler
Topic: No .Net runtime in dump file?
Replies: 4
Views: 495

Re: No .Net runtime in dump file?

It's strange that you don't have the "mscordaccore.dll" on your system. It should be part of the Silverlight installation. Maybe you don't have a full installation of Silverlight? Maybe "C:\Program Files\Microsoft Silverlight\5.1.50907.0" is just a left-over directory? If you get the file from the c...
by Andreas Suurkuusk
Tue Apr 10, 2018 1:46 pm
Forum: Using .NET Memory Profiler
Topic: NmpCore Tool
Replies: 4
Views: 460

Re: NmpCore Tool

Instead of importing a memory dump using NmpCore, our intention is that you should use inspection only attach directly on the process you want to investigate. If you have a memory dump, then it is normally better to import it using the full memory profiler. The /i argument is actually not officially...
by Andreas Suurkuusk
Tue Apr 10, 2018 1:30 pm
Forum: Using .NET Memory Profiler
Topic: No .Net runtime in dump file?
Replies: 4
Views: 495

Re: No .Net runtime in dump file?

It seems like you have encountered a bug in the retrieval of the data access library. If an incorrect data access library file is selected, but the version (and platform) of the file is exactly the same as the expected library file, then the profiler will not prompt for the file again (unless anothe...
by Andreas Suurkuusk
Mon Apr 09, 2018 7:53 am
Forum: Future Improvements
Topic: Save Session window - v5.6
Replies: 4
Views: 675

Re: Save Session window - v5.6

Now we have built a release of .NET Memory Profiler where it's possible to scroll the list of available snapshots when saving the session. SaveManySnapshots.png The latest build is not yet officially released, but you can download it from https://cdn.memprofiler.com/download/MemProfilerInstaller5_6_...
by Andreas Suurkuusk
Mon Apr 09, 2018 7:50 am
Forum: Using .NET Memory Profiler
Topic: Snapshot name / comments
Replies: 4
Views: 597

Re: Snapshot name / comments

Now we have built a release of .NET Memory Profiler where you can change the name of snapshots (again). You can access this functionality by using the command "Profiler->Manage snapshots". Previously this was called "Profiler->Rename snapshot", but now you can change the name of any snapshot (and no...