Search found 1043 matches
- Fri Jan 21, 2022 10:37 am
- Forum: Using .NET Memory Profiler
- Topic: Using profiler on production
- Replies: 1
- Views: 1468
Re: Using profiler on production
If you attach to the process using "Inspection only attach" you have the option to collect a memory snapshot of the process using a process snapshot (process snapshots are available in WIndows 8.1/Windows Server 2012 R2 and later). A process snapshot should be fast, even for a 100 GB process. Howeve...
- Wed Dec 29, 2021 8:06 pm
- Forum: Using .NET Memory Profiler
- Topic: Tracking unidentified memory usage
- Replies: 4
- Views: 1855
Re: Tracking unidentified memory usage
Now we have hopefully fixed the issue with the installer. Can you download the latest build from https://cdn.memprofiler.com/download/Me ... 5_7_26.exe and see if it works better?
We will probably release this version officially tomorrow.
We will probably release this version officially tomorrow.
- Wed Dec 29, 2021 8:00 pm
- Forum: Known Memory Issues
- Topic: Castle Windsor Interceptor Usage
- Replies: 1
- Views: 1667
Re: Castle Windsor Interceptor Usage
I'm not sure how interceptors in Castle Windsor are implemented, and it's hard to tell from the screenshot which types belong to Windsor and which are your own types. The screenshot does show that the disposed LabelViewModelProxy is kept alive as a key in the "instance2Burden" dictionary. Since this...
- Tue Dec 28, 2021 9:52 pm
- Forum: Using .NET Memory Profiler
- Topic: Tracking unidentified memory usage
- Replies: 4
- Views: 1855
Re: Tracking unidentified memory usage
Thanks for stack trace from the installer. Apparently there's an issue with the Visual Studio detection in the installer. We will fix that as soon as possible. Hopefully we can release a maintenance fix by tomorrow. You can use "Debug with Memory Profiler" together with the native resources tracker....
- Wed Dec 22, 2021 2:48 pm
- Forum: Using .NET Memory Profiler
- Topic: Tracking unidentified memory usage
- Replies: 4
- Views: 1855
Re: Tracking unidentified memory usage
As mentioned in the article, the native resources tracker requires that you start the profiled process from the profiler. This is the only way the profiler will be able to collect additional information about the resources, e.g. the creation call stack. Do you have any more information about the exc...
- Mon Aug 23, 2021 6:18 am
- Forum: Using .NET Memory Profiler
- Topic: Memory Profiler hangs after upgrading to 5.7 version
- Replies: 6
- Views: 5509
Re: Memory Profiler hangs after upgrading to 5.7 version
I'm sorry for the delayed response, I didn't receive the notification about your reply. Since it hangs even when you disable DirectX and after you have removed the video-card, it seems like the issue is probably not caused by the charting component. We will do some more investigations related to thi...
- Fri Aug 06, 2021 3:29 pm
- Forum: Using .NET Memory Profiler
- Topic: Memory Profiler hangs after upgrading to 5.7 version
- Replies: 6
- Views: 5509
Re: Memory Profiler hangs after upgrading to 5.7 version
It seems like the hang is somehow related to the real-time view, and most likely the third-party graph component we use. Can you try to disable Direct3D rendering in the real-time view and see if it works better? You can disable Direct 3D rendering on the Preferences page under Tools->Options. Desel...
- Thu Aug 05, 2021 7:53 pm
- Forum: Using .NET Memory Profiler
- Topic: Memory Profiler hangs after upgrading to 5.7 version
- Replies: 6
- Views: 5509
Re: Memory Profiler hangs after upgrading to 5.7 version
This is not something we have heard about before, but since it works when you select the "very low" setting it may have something to do with the real-time plots. Can you try to just disable real-time data collection? You can do that by selecting the custom level and click next until you reach the re...
- Tue Jul 27, 2021 10:50 am
- Forum: Using .NET Memory Profiler
- Topic: How to run Profiler with MSTest.exe
- Replies: 3
- Views: 4330
Re: How to run Profiler with MSTest.exe
1. The NmpCore command looks fine, but there’s a risk that the actual test process doesn’t get profiled. Adding the “/noisolation” flag may help with this, but a better option would be to specify that all processes should be profiled. You can specify that all processes should be profiled by using th...
- Sun Jul 25, 2021 7:11 pm
- Forum: Using .NET Memory Profiler
- Topic: How to run Profiler with MSTest.exe
- Replies: 3
- Views: 4330
Re: How to run Profiler with MSTest.exe
How do you start “mstest.exe”? In order to profile unit tests, the test runner needs to be started by .NET Memory Profiler. It’s not enough to add “SciTech.MemProfilerApi” to the project. There are several ways to run tests under the profiler, e.g. using the standalone profiler, NmpCore, or the Visu...
- Wed Jun 23, 2021 6:49 am
- Forum: Using .NET Memory Profiler
- Topic: Console application Main function has a reference which prevent object to be GCed
- Replies: 3
- Views: 4681
Re: Console application Main function has a reference which prevent object to be GCed
Your Main method contains global event handler registrations, anonymous functions, LINQ queries, and is an async method itself (with an accompanying state machine). A lot of data will be stored in local variables and it's hard to determine the lifetime of each variable. I don't think the runtime mak...
- Tue Jun 22, 2021 2:31 pm
- Forum: Using .NET Memory Profiler
- Topic: Error using NmpCore MSBuild Task
- Replies: 2
- Views: 4425
Re: Error using NmpCore MSBuild Task
As you noticed, there's an error in the SciTech.NmpCore.Task.targets file included with with the SciTech.NmpCore.Task package (v5.7.21). It refers to the wrong directory for the NmpCore.exe file. We have now corrected this error and uploaded an updated package, v5.7.23. Can you upgrade to this versi...
- Wed Jun 16, 2021 9:16 pm
- Forum: Using .NET Memory Profiler
- Topic: Console application Main function has a reference which prevent object to be GCed
- Replies: 3
- Views: 4681
Re: Console application Main function has a reference which prevent object to be GCed
I'm sorry for the late reply. It's hard to identify why an instance has not been GCed based on your description and the screenshot. To better help you with this I would need some more information. Is the FdcServerHostApp instance (#34,706), the instance you believe should be GCed? It's being kept al...
- Fri Apr 09, 2021 4:17 pm
- Forum: General
- Topic: Memory Profiling in a CI workflow - Virtual Machines
- Replies: 1
- Views: 5890
Re: Memory Profiling in a CI workflow - Virtual Machines
Hi, The internal .NET Memory Profiler API, the NmpCore task, and the NmpDataCollector are available as NuGet packages (SciTech.MemProfilerApi, SciTech.NmpCore.Task, SciTech.NmpDataCollector), but then snapshots can only be collected from within the profiled process. The external API, that allows you...
- Tue Jul 21, 2020 7:26 pm
- Forum: Future Improvements
- Topic: NmpCore dotnet core Linux
- Replies: 1
- Views: 8272
Re: NmpCore dotnet core Linux
Yes, we plan to add support for .NET Core applications running on Linux. In version 6.0, both .NET Memory Profiler and NmpCore will be running as .NET Core applications (or more likely .NET 5 applications). The profiler itself uses WPF so it will be be Windows only, but NmpCore will be cross platfor...