dotMemory commandline profile include Memory Allocation data

I've got a windows service that I have to profile in production because I can't simulate the load pattern that is causing problems in a test environment.

I'm using the commandline dotMemory tool. I need to see allocation data so i can identify the direct causes of allocations without guessing. To do this i need to use the Back Traces tab but when I profile this tab isn't available. Can you provide a commandline example of how I would profile a windows service in a way that includes the data needed to inspect backtraces please?

Currently trying: dotmemory start-windows-service ServiceName

0
3 comments

Hello,

[--collect-alloc|-c] Collect callstack allocation data (can impact performance!) can help you to enable these data.

Full command in your case is 'dotmemory start-windows-service --collect-alloc ServiceName'

0
Avatar
Permanently deleted user

Thank you, that works. Can I request that this be added to the /? help output please.

0

You can get information about this and other available parameters in console help: dotmemory help start-windows-service

'dotMemory start-windows-service /?' presents the same help as well.

0

Please sign in to leave a comment.