-The size of global shared memory can be set only with a configuration file. The default size is 524,288 byes, the maximum size is 33,554,432 bytes, and the minimum size is 32,768 bytes. Since the global shared memory is shared by all processes and categories, the first creator specifies the size. If you define the size in your application configuration file, that size is only used if your application is the first application that causes the performance counters to execute. Therefore the correct location to specify the `filemappingsize` value is the Machine.config file. Memory in the global shared memory cannot be released by individual performance counters, so eventually global shared memory is exhausted if a large number of performance counter instances with different names are created.
0 commit comments