collect-native-allocations command line option

I'm trying to track down a memory leak in my application and would like to profile with native allocations. However, I cannot work out how to enable it via the command line dottrace app.

I have tried:

dottrace.sh attach 1 --profiling-type=Timeline --collect-native-allocations

But get the error Unrecognized option 'collect-native-allocations': '--collect-native-allocations'. There doesn't seem to be any examples of how to set this. Can anyone help?

0
2 comments

Hi! This option is available on Windows only. Could you please let us know which operating system you're trying to run the dotTrace command line tool on?

0

I am trying to run it on a Linux container, assumed I could because there was no documentation on this command and which operating system it's supported on.

0

Please sign in to leave a comment.